author | andyq <andyq> | 2002-11-02 09:09:41 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-11-02 09:09:41 (UTC) |
commit | f8538844857840a2cdefe8e3b0dfa90a30163ae1 (patch) (unidiff) | |
tree | 57ea5c6cbd9195a3808180f8b999d6cda991df5c | |
parent | bf9388acdebf6e55345dff3bd1cd652b45a2202a (diff) | |
download | opie-f8538844857840a2cdefe8e3b0dfa90a30163ae1.zip opie-f8538844857840a2cdefe8e3b0dfa90a30163ae1.tar.gz opie-f8538844857840a2cdefe8e3b0dfa90a30163ae1.tar.bz2 |
Fixed bug where package should be removed but gets reinstalled
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index b5d7352..3d06aef 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp | |||
@@ -550,9 +550,9 @@ InstallData NetworkPackageManager :: dealWithItem( QCheckListItem *item ) | |||
550 | } | 550 | } |
551 | else if ( val == -1 ) | 551 | else if ( val == -1 ) |
552 | { | 552 | { |
553 | // Version available is older - remove only | 553 | // Version available is older - remove only |
554 | item.option = "R"; | 554 | item.option = "D"; |
555 | } | 555 | } |
556 | else | 556 | else |
557 | { | 557 | { |
558 | QString caption; | 558 | QString caption; |
@@ -585,8 +585,9 @@ InstallData NetworkPackageManager :: dealWithItem( QCheckListItem *item ) | |||
585 | switch( QMessageBox::information( this, text, | 585 | switch( QMessageBox::information( this, text, |
586 | msgtext, "Remove", secondButton ) ) | 586 | msgtext, "Remove", secondButton ) ) |
587 | { | 587 | { |
588 | case 0: // Try again or Enter | 588 | case 0: // Try again or Enter |
589 | // option 0 = Remove | ||
589 | item.option = "D"; | 590 | item.option = "D"; |
590 | break; | 591 | break; |
591 | case 1: // Quit or Escape | 592 | case 1: // Quit or Escape |
592 | item.option = secondOption; | 593 | item.option = secondOption; |