Diffstat (limited to 'noncore/unsupported/oipkg/packagelistdoclnk.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelistdoclnk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistdoclnk.cpp b/noncore/unsupported/oipkg/packagelistdoclnk.cpp index 5787fdf..1d10adf 100644 --- a/noncore/unsupported/oipkg/packagelistdoclnk.cpp +++ b/noncore/unsupported/oipkg/packagelistdoclnk.cpp | |||
@@ -17,12 +17,13 @@ PackageListDocLnk::PackageListDocLnk(PackageManagerSettings* s) | |||
17 | PackageListDocLnk::PackageListDocLnk() | 17 | PackageListDocLnk::PackageListDocLnk() |
18 | : PackageList() | 18 | : PackageList() |
19 | { | 19 | { |
20 | Config cfg( "oipkg", Config::User ); | 20 | Config cfg( "oipkg", Config::User ); |
21 | cfg.setGroup( "Common" ); | 21 | cfg.setGroup( "Common" ); |
22 | docLnkDir = cfg.readEntry( "docLnkDir", "/root/" ); | 22 | docLnkDir = cfg.readEntry( "docLnkDir", "/root/" ); |
23 | pvDebug(2,"opening DocLnkSet "+docLnkDir); | ||
23 | doclnkset = new DocLnkSet(docLnkDir,"application/ipkg"); | 24 | doclnkset = new DocLnkSet(docLnkDir,"application/ipkg"); |
24 | } | 25 | } |
25 | 26 | ||
26 | PackageListDocLnk::~PackageListDocLnk() | 27 | PackageListDocLnk::~PackageListDocLnk() |
27 | { | 28 | { |
28 | Config cfg( "oipkg", Config::User ); | 29 | Config cfg( "oipkg", Config::User ); |
@@ -32,12 +33,12 @@ PackageListDocLnk::~PackageListDocLnk() | |||
32 | 33 | ||
33 | 34 | ||
34 | 35 | ||
35 | void PackageListDocLnk::update() | 36 | void PackageListDocLnk::update() |
36 | { | 37 | { |
37 | pvDebug(2,"PackageListDocLnk::update "); | 38 | pvDebug(2,"PackageListDocLnk::update "); |
38 | QList<DocLnk> packlist = doclnkset->children(); | 39 | QList<DocLnk> packlist = doclnkset->children(); |
39 | for (DocLnk *pack =packlist.first(); pack != 0; pack=packlist.next() ) | 40 | for (DocLnk *pack =packlist.first(); pack != 0; pack=packlist.next() ) |
40 | { | 41 | { |
41 | insertPackage( new Package(pack->file(), settings) ); | 42 | insertPackage( new Package(pack->file(), settings) ); |
42 | } | 43 | } |
43 | } | 44 | } |