Diffstat (limited to 'noncore/settings/packagemanager') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/opackagemanager.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/settings/packagemanager/opackagemanager.cpp b/noncore/settings/packagemanager/opackagemanager.cpp index c9fdec1..ac16954 100644 --- a/noncore/settings/packagemanager/opackagemanager.cpp +++ b/noncore/settings/packagemanager/opackagemanager.cpp | |||
@@ -83,9 +83,10 @@ void OPackageManager::loadAvailablePackages() | |||
83 | OPackage *package = packageIt.current(); | 83 | OPackage *package = packageIt.current(); |
84 | 84 | ||
85 | // Load package info | 85 | // Load package info |
86 | if ( !m_packages.find( package->name() ) ) | 86 | if ( !m_packages.find( package->name() ) ) { |
87 | printf( "ADD AVAILABLE '%s'\n", package->name().latin1()); | ||
87 | m_packages.insert( package->name(), package ); | 88 | m_packages.insert( package->name(), package ); |
88 | else | 89 | } else |
89 | { | 90 | { |
90 | // If new package is newer version, replace existing package | 91 | // If new package is newer version, replace existing package |
91 | OPackage *currPackage = m_packages[package->name()]; | 92 | OPackage *currPackage = m_packages[package->name()]; |
@@ -138,6 +139,7 @@ void OPackageManager::loadInstalledPackages() | |||
138 | emit statusBar( destCount ); | 139 | emit statusBar( destCount ); |
139 | qApp->processEvents(); | 140 | qApp->processEvents(); |
140 | 141 | ||
142 | printf( "DESGTINATION %s\n", destination->name().latin1()); | ||
141 | OPackageList *packageList = m_ipkg.installedPackages( destination->name(), | 143 | OPackageList *packageList = m_ipkg.installedPackages( destination->name(), |
142 | destination->value() ); | 144 | destination->value() ); |
143 | if ( packageList ) | 145 | if ( packageList ) |
@@ -157,6 +159,7 @@ void OPackageManager::loadInstalledPackages() | |||
157 | else | 159 | else |
158 | { | 160 | { |
159 | // Package isn't in a current feed, add to list | 161 | // Package isn't in a current feed, add to list |
162 | printf( "ADD INSTALLED '%s'\n", package->name().latin1()); | ||
160 | m_packages.insert( package->name(), package ); | 163 | m_packages.insert( package->name(), package ); |
161 | 164 | ||
162 | // Add category to list if it doesn't already exist | 165 | // Add category to list if it doesn't already exist |