Diffstat (limited to 'noncore/apps/oxygen/kmolcalc.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/kmolcalc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/kmolcalc.cpp b/noncore/apps/oxygen/kmolcalc.cpp index 0ba52da..33666b1 100644 --- a/noncore/apps/oxygen/kmolcalc.cpp +++ b/noncore/apps/oxygen/kmolcalc.cpp | |||
@@ -16,4 +16,5 @@ | |||
16 | #include <qdir.h> | 16 | #include <qdir.h> |
17 | #include <qfile.h> | 17 | #include <qfile.h> |
18 | #include <qpe/qpeapplication.h> | ||
18 | #include <iostream.h> | 19 | #include <iostream.h> |
19 | 20 | ||
@@ -37,5 +38,5 @@ void KMolCalc::readElstable() { | |||
37 | elstable = new QDict<SubUnit> (197, TRUE); | 38 | elstable = new QDict<SubUnit> (197, TRUE); |
38 | elstable->setAutoDelete(TRUE); | 39 | elstable->setAutoDelete(TRUE); |
39 | mwfile = "/home/opie/opie/noncore/apps/oxygen/kmolweights"; | 40 | mwfile = QPEApplication::qpeDir() +"share/oxygen/kmolweights"; |
40 | QFile f(mwfile); | 41 | QFile f(mwfile); |
41 | if (f.exists()) readMwfile(f); | 42 | if (f.exists()) readMwfile(f); |