Diffstat (limited to 'noncore/unsupported/oipkg/packagelistdoclnk.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelistdoclnk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistdoclnk.cpp b/noncore/unsupported/oipkg/packagelistdoclnk.cpp index 76e91ff..a7a6f70 100644 --- a/noncore/unsupported/oipkg/packagelistdoclnk.cpp +++ b/noncore/unsupported/oipkg/packagelistdoclnk.cpp | |||
@@ -27,27 +27,27 @@ PackageListDocLnk::PackageListDocLnk(QObject *parent, const char *name) | |||
27 | { | 27 | { |
28 | Config cfg( "oipkg", Config::User ); | 28 | Config cfg( "oipkg", Config::User ); |
29 | cfg.setGroup( "Common" ); | 29 | cfg.setGroup( "Common" ); |
30 | docLnkDir = cfg.readEntry( "docLnkDir", "/root/" ); | 30 | docLnkDir = cfg.readEntry( "docLnkDir", "/root/" ); |
31 | pvDebug(2,"opening DocLnkSet "+docLnkDir); | 31 | pvDebug(2,"opening DocLnkSet "+docLnkDir); |
32 | doclnkset = new DocLnkSet(docLnkDir,"application/ipkg"); | 32 | doclnkset = new DocLnkSet(docLnkDir,"application/ipkg"); |
33 | } | 33 | } |
34 | 34 | ||
35 | PackageListDocLnk::~PackageListDocLnk() | 35 | PackageListDocLnk::~PackageListDocLnk() |
36 | { | 36 | { |
37 | Config cfg( "oipkg", Config::User ); | 37 | Config cfg( "oipkg", Config::User ); |
38 | cfg.setGroup( "Common" ); | 38 | cfg.setGroup( "Common" ); |
39 | cfg.writeEntry( "docLnkDir", docLnkDir ); | 39 | cfg.writeEntry( "docLnkDir", docLnkDir ); |
40 | delete doclnkset; | 40 | delete doclnkset; |
41 | } | 41 | } |
42 | 42 | ||
43 | 43 | ||
44 | 44 | ||
45 | void PackageListDocLnk::update() | 45 | void PackageListDocLnk::update() |
46 | { | 46 | { |
47 | pvDebug(2,"PackageListDocLnk::update "); | 47 | pvDebug(2,"PackageListDocLnk::update "); |
48 | QList<DocLnk> packlist = doclnkset->children(); | 48 | QList<DocLnk> packlist = doclnkset->children(); |
49 | for (DocLnk *pack =packlist.first(); pack != 0; pack=packlist.next() ) | 49 | for (DocLnk *pack =packlist.first(); pack != 0; pack=packlist.next() ) |
50 | { | 50 | { |
51 | insertPackage( new Package(pack->file(), settings ) ); | 51 | insertPackage( new OipkgPackage(pack->file(), settings ) ); |
52 | } | 52 | } |
53 | } | 53 | } |