author | zecke <zecke> | 2004-08-23 23:15:06 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-23 23:15:06 (UTC) |
commit | 94611edc1942717faa15861adef25418e40ea626 (patch) (side-by-side diff) | |
tree | ea45e973c948c50adb4ac813255b57193b919574 /libopie2 | |
parent | f8f1d4f340b591f21cd7c10259da1241ecf69dd9 (diff) | |
download | opie-94611edc1942717faa15861adef25418e40ea626.zip opie-94611edc1942717faa15861adef25418e40ea626.tar.gz opie-94611edc1942717faa15861adef25418e40ea626.tar.bz2 |
Do not hardcode /opt/QtPalmtop but use QPEApplication::qpeDir
-rw-r--r-- | libopie2/opienet/omanufacturerdb.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie2/opienet/omanufacturerdb.cpp b/libopie2/opienet/omanufacturerdb.cpp index 3003e12..32bae0a 100644 --- a/libopie2/opienet/omanufacturerdb.cpp +++ b/libopie2/opienet/omanufacturerdb.cpp @@ -34,2 +34,3 @@ #include <opie2/odebug.h> +#include <qpe/qpeapplication.h> #ifdef OPIE_IMPROVE_GUI_LATENCY @@ -38,2 +39,4 @@ + + /* QT */ @@ -69,3 +72,3 @@ OManufacturerDB::OManufacturerDB() { - filename = "/opt/QtPalmtop/etc/manufacturers"; + filename = QPEApplication::qpeDir()+"/etc/manufacturers"; odebug << "OManufacturerDB: trying to read " << filename << oendl; |