summaryrefslogtreecommitdiff
path: root/noncore
authorandyq <andyq>2002-11-02 09:09:41 (UTC)
committer andyq <andyq>2002-11-02 09:09:41 (UTC)
commitf8538844857840a2cdefe8e3b0dfa90a30163ae1 (patch) (side-by-side diff)
tree57ea5c6cbd9195a3808180f8b999d6cda991df5c /noncore
parentbf9388acdebf6e55345dff3bd1cd652b45a2202a (diff)
downloadopie-f8538844857840a2cdefe8e3b0dfa90a30163ae1.zip
opie-f8538844857840a2cdefe8e3b0dfa90a30163ae1.tar.gz
opie-f8538844857840a2cdefe8e3b0dfa90a30163ae1.tar.bz2
Fixed bug where package should be removed but gets reinstalled
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/networkpkgmgr.cpp3
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
@@ -551,7 +551,7 @@ InstallData NetworkPackageManager :: dealWithItem( QCheckListItem *item )
else if ( val == -1 )
{
// Version available is older - remove only
- item.option = "R";
+ item.option = "D";
}
else
{
@@ -586,6 +586,7 @@ InstallData NetworkPackageManager :: dealWithItem( QCheckListItem *item )
msgtext, "Remove", secondButton ) )
{
case 0: // Try again or Enter
+ // option 0 = Remove
item.option = "D";
break;
case 1: // Quit or Escape