Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 1aec6a8..58f6feb 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -294,13 +294,13 @@ void MainWindow :: init() | |||
294 | categoryFilterEnabled = false; | 294 | categoryFilterEnabled = false; |
295 | 295 | ||
296 | updateData(); | 296 | updateData(); |
297 | 297 | ||
298 | stack->raiseWidget( networkPkgWindow ); | 298 | stack->raiseWidget( networkPkgWindow ); |
299 | } | 299 | } |
300 | /* | 300 | |
301 | void MainWindow :: setDocument( const QString &doc ) | 301 | void MainWindow :: setDocument( const QString &doc ) |
302 | { | 302 | { |
303 | // Remove path from package | 303 | // Remove path from package |
304 | QString package = Utils::getPackageNameFromIpkFilename( doc ); | 304 | QString package = Utils::getPackageNameFromIpkFilename( doc ); |
305 | // std::cout << "Selecting package " << package << std::endl; | 305 | // std::cout << "Selecting package " << package << std::endl; |
306 | 306 | ||
@@ -324,13 +324,13 @@ void MainWindow :: setDocument( const QString &doc ) | |||
324 | { | 324 | { |
325 | item->setOn( true ); | 325 | item->setOn( true ); |
326 | break; | 326 | break; |
327 | } | 327 | } |
328 | } | 328 | } |
329 | } | 329 | } |
330 | */ | 330 | |
331 | void MainWindow :: displaySettings() | 331 | void MainWindow :: displaySettings() |
332 | { | 332 | { |
333 | SettingsImpl *dlg = new SettingsImpl( mgr, this, "Settings", true ); | 333 | SettingsImpl *dlg = new SettingsImpl( mgr, this, "Settings", true ); |
334 | if ( dlg->showDlg() ) | 334 | if ( dlg->showDlg() ) |
335 | { | 335 | { |
336 | stack->raiseWidget( progressWindow ); | 336 | stack->raiseWidget( progressWindow ); |
@@ -989,20 +989,20 @@ InstallData *MainWindow :: dealWithItem( QCheckListItem *item ) | |||
989 | name = p->getFilename(); | 989 | name = p->getFilename(); |
990 | 990 | ||
991 | QString option; | 991 | QString option; |
992 | QString dest = "root"; | 992 | QString dest = "root"; |
993 | if ( !p->isInstalled() ) | 993 | if ( !p->isInstalled() ) |
994 | { | 994 | { |
995 | InstallData *newitem = new InstallData();; | 995 | InstallData *newitem = new InstallData(); |
996 | newitem->option = "I"; | 996 | newitem->option = "I"; |
997 | newitem->packageName = name; | 997 | newitem->packageName = name; |
998 | return newitem; | 998 | return newitem; |
999 | } | 999 | } |
1000 | else | 1000 | else |
1001 | { | 1001 | { |
1002 | InstallData *newitem = new InstallData();; | 1002 | InstallData *newitem = new InstallData(); |
1003 | newitem->option = "D"; | 1003 | newitem->option = "D"; |
1004 | if ( !p->isPackageStoredLocally() ) | 1004 | if ( !p->isPackageStoredLocally() ) |
1005 | newitem->packageName = p->getInstalledPackageName(); | 1005 | newitem->packageName = p->getInstalledPackageName(); |
1006 | else | 1006 | else |
1007 | newitem->packageName = name; | 1007 | newitem->packageName = name; |
1008 | 1008 | ||