summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistdoclnk.cpp
authortille <tille>2002-05-02 19:53:56 (UTC)
committer tille <tille>2002-05-02 19:53:56 (UTC)
commit7833ad013239d04669edd54041287563a47728ec (patch) (side-by-side diff)
tree9b733caf7880a052580ecbb496cb2914e17a2a69 /noncore/unsupported/oipkg/packagelistdoclnk.cpp
parentce6758eccada41f5c3fef13e6b4808c525213bee (diff)
downloadopie-7833ad013239d04669edd54041287563a47728ec.zip
opie-7833ad013239d04669edd54041287563a47728ec.tar.gz
opie-7833ad013239d04669edd54041287563a47728ec.tar.bz2
fixed
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistdoclnk.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistdoclnk.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistdoclnk.cpp b/noncore/unsupported/oipkg/packagelistdoclnk.cpp
index 575ac62..5787fdf 100644
--- a/noncore/unsupported/oipkg/packagelistdoclnk.cpp
+++ b/noncore/unsupported/oipkg/packagelistdoclnk.cpp
@@ -4,2 +4,3 @@
#include <qpe/applnk.h>
+#include <qpe/config.h>
#include <qlist.h>
@@ -18,3 +19,6 @@ PackageListDocLnk::PackageListDocLnk()
{
- doclnkset = new DocLnkSet("/mnt/nfs/ipk","application/ipkg");
+ Config cfg( "oipkg", Config::User );
+ cfg.setGroup( "Common" );
+ docLnkDir = cfg.readEntry( "docLnkDir", "/root/" );
+ doclnkset = new DocLnkSet(docLnkDir,"application/ipkg");
}
@@ -23,2 +27,5 @@ PackageListDocLnk::~PackageListDocLnk()
{
+ Config cfg( "oipkg", Config::User );
+ cfg.setGroup( "Common" );
+ cfg.writeEntry( "docLnkDir", docLnkDir );
}