Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/package.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp index e317308..1705f78 100644 --- a/noncore/unsupported/oipkg/package.cpp +++ b/noncore/unsupported/oipkg/package.cpp | |||
@@ -14,13 +14,13 @@ Package::Package() | |||
14 | _size = ""; | 14 | _size = ""; |
15 | _section = ""; | 15 | _section = ""; |
16 | _subsection = ""; | 16 | _subsection = ""; |
17 | _shortDesc = ""; | 17 | _shortDesc = ""; |
18 | _desc = ""; | 18 | _desc = ""; |
19 | _name = ""; | 19 | _name = ""; |
20 | _toProcess = true; | 20 | _toProcess = false; |
21 | _status = ""; | 21 | _status = ""; |
22 | } | 22 | } |
23 | 23 | ||
24 | Package::Package( QStringList pack ) | 24 | Package::Package( QStringList pack ) |
25 | { | 25 | { |
26 | Package(); | 26 | Package(); |
@@ -250,6 +250,14 @@ QString Package::details() | |||
250 | } | 250 | } |
251 | } | 251 | } |
252 | } | 252 | } |
253 | return description; | 253 | return description; |
254 | } | 254 | } |
255 | 255 | ||
256 | /** No descriptions */ | ||
257 | void Package::processed() | ||
258 | { | ||
259 | _toProcess = false; | ||
260 | //hack, but we're mot writing status anyway... | ||
261 | if ( installed() ) _status = "install"; | ||
262 | else _status = "installed"; | ||
263 | } | ||