Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/package.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp index f992641..9280d89 100644 --- a/noncore/unsupported/oipkg/package.cpp +++ b/noncore/unsupported/oipkg/package.cpp | |||
@@ -45,13 +45,12 @@ Package::Package( QString n, PackageManagerSettings *s ) | |||
45 | init(s); | 45 | init(s); |
46 | if ( !QFile::exists( n ) ) | 46 | if ( !QFile::exists( n ) ) |
47 | { | 47 | { |
48 | _name = QString( n ); | 48 | _name = QString( n ); |
49 | }else{ | 49 | }else{ |
50 | parseIpkgFile( n ); | 50 | parseIpkgFile( n ); |
51 | _toProcess = true; | ||
52 | _useFileName = true; | 51 | _useFileName = true; |
53 | _fileName = QString( n ); | 52 | _fileName = QString( n ); |
54 | } | 53 | } |
55 | } | 54 | } |
56 | 55 | ||
57 | Package::Package( Package *pi ) | 56 | Package::Package( Package *pi ) |
@@ -363,6 +362,11 @@ void Package::setName(QString n) | |||
363 | } | 362 | } |
364 | 363 | ||
365 | QDict<QString>* Package::getFields() | 364 | QDict<QString>* Package::getFields() |
366 | { | 365 | { |
367 | return &_values; | 366 | return &_values; |
368 | } | 367 | } |
368 | |||
369 | QString Package::status() | ||
370 | { | ||
371 | return _status; | ||
372 | } | ||