Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index 3aee7bd..d84fb4b 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp | |||
@@ -483,13 +483,19 @@ InstallData NetworkPackageManager :: dealWithItem( QCheckListItem *item ) | |||
483 | else | 483 | else |
484 | { | 484 | { |
485 | InstallData item; | 485 | InstallData item; |
486 | item.option = "D"; | 486 | item.option = "D"; |
487 | item.packageName = name; | 487 | item.packageName = p->getInstalledPackageName(); |
488 | if ( p->getInstalledTo() ) | 488 | if ( p->getInstalledTo() ) |
489 | { | ||
489 | item.destination = p->getInstalledTo(); | 490 | item.destination = p->getInstalledTo(); |
491 | cout << "dest - " << p->getInstalledTo()->getDestinationName() << endl; | ||
492 | cout << "dest - " << p->getInstalledTo()->getDestinationPath() << endl; | ||
493 | } | ||
490 | else | 494 | else |
495 | { | ||
491 | item.destination = p->getLocalPackage()->getInstalledTo(); | 496 | item.destination = p->getLocalPackage()->getInstalledTo(); |
497 | } | ||
492 | 498 | ||
493 | // Sticky option not implemented yet, but will eventually allow | 499 | // Sticky option not implemented yet, but will eventually allow |
494 | // the user to say something like 'remove all' | 500 | // the user to say something like 'remove all' |
495 | if ( stickyOption == "" ) | 501 | if ( stickyOption == "" ) |