diff options
author | Daniel Burrows <dburrows@debian.org> | 2010-07-21 23:17:33 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2010-07-21 23:17:33 -0700 |
commit | 0370fb0ea41f18054532f333cbf178a3e440db23 (patch) | |
tree | 74234c9761df6ca64789991b8487ccfbea31e32d /src/qt | |
parent | 8274ca78233c7eb57ab974e8fe7ba87a6d892603 (diff) | |
download | aptitude-0370fb0ea41f18054532f333cbf178a3e440db23.tar.gz |
Standardize indentation.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/package_pool.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/qt/package_pool.cc b/src/qt/package_pool.cc index f4f32f4e..8009c8e4 100644 --- a/src/qt/package_pool.cc +++ b/src/qt/package_pool.cc @@ -91,7 +91,7 @@ namespace aptitude package_pool::package_pool_impl::package_pool_impl() { cache_closed.connect(sigc::mem_fun(*this, &package_pool::package_pool_impl::handle_cache_closed)), - cache_reloaded.connect(sigc::mem_fun(*this, &package_pool::package_pool_impl::handle_cache_reloaded)); + cache_reloaded.connect(sigc::mem_fun(*this, &package_pool::package_pool_impl::handle_cache_reloaded)); handle_cache_reloaded(); } @@ -110,13 +110,13 @@ namespace aptitude packages.reserve((*apt_cache_file)->Head().PackageCount); for(pkgCache::PkgIterator pkg = (*apt_cache_file)->PkgBegin(); !pkg.end(); ++pkg) - { - // Filter useless packages up-front. - if(pkg.VersionList().end() && pkg.ProvidesList().end()) - continue; + { + // Filter useless packages up-front. + if(pkg.VersionList().end() && pkg.ProvidesList().end()) + continue; - packages.push_back(package::create(pkg)); - } + packages.push_back(package::create(pkg)); + } cache_reloaded_signal(); } @@ -147,19 +147,19 @@ namespace aptitude } sigc::connection - package_pool::package_pool_impl::connect_cache_reloaded(const sigc::slot<void> &slot) + package_pool::package_pool_impl::connect_cache_reloaded(const sigc::slot<void> &slot) { return cache_reloaded_signal.connect(slot); } sigc::connection - package_pool::package_pool_impl::connect_cache_closed(const sigc::slot<void> &slot) + package_pool::package_pool_impl::connect_cache_closed(const sigc::slot<void> &slot) { return cache_closed_signal.connect(slot); } sigc::connection - package_pool::package_pool_impl::connect_cache_state_changed(const sigc::slot<void, std::vector<package_ptr> > &slot) + package_pool::package_pool_impl::connect_cache_state_changed(const sigc::slot<void, std::vector<package_ptr> > &slot) { return cache_state_changed_signal.connect(slot); } |