-rw-r--r-- | noncore/unsupported/oipkg/TODO | 3 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/package.cpp | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/TODO b/noncore/unsupported/oipkg/TODO index b92cbb0..e7b017c 100644 --- a/noncore/unsupported/oipkg/TODO +++ b/noncore/unsupported/oipkg/TODO | |||
@@ -1,3 +1,4 @@ | |||
1 | * check for networt before installing from network | ||
1 | * Settings Class | 2 | * Settings Class |
2 | * parse "to install" and "to remove" from status | 3 | * parse "to install" and "to remove" from status |
3 | * install local file dialog | 4 | * install local file dialog |
@@ -9,4 +10,4 @@ | |||
9 | * allow reinstalling | 10 | * allow reinstalling |
10 | * different types of filters and searches | 11 | * different types of filters and searches |
11 | i.e. name, desc, files etc | 12 | i.e. name, desc, files etc |
12 | * display new list after update \ No newline at end of file | 13 | * display new list after update |
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp index bfb48b3..4a09b40 100644 --- a/noncore/unsupported/oipkg/package.cpp +++ b/noncore/unsupported/oipkg/package.cpp | |||
@@ -132,7 +132,15 @@ QString Package::installName() | |||
132 | 132 | ||
133 | bool Package::installed() | 133 | bool Package::installed() |
134 | { | 134 | { |
135 | if (_status.contains("installed")) return true; | 135 | if (_status.contains("installed")) |
136 | { | ||
137 | if (_status.contains("not-installed")) | ||
138 | { | ||
139 | _toProcess = true; | ||
140 | return false; | ||
141 | } | ||
142 | else return true; | ||
143 | } | ||
136 | else | 144 | else |
137 | if (_versions) | 145 | if (_versions) |
138 | { | 146 | { |