author | cniehaus <cniehaus> | 2002-09-21 13:43:51 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-21 13:43:51 (UTC) |
commit | 65cf44292ac6abfb1a60be5f582cab26333cfb0a (patch) (side-by-side diff) | |
tree | 8fec45b6ca9302055dd497fc7857015cf571665d /noncore/apps/oxygen/kmolcalc.cpp | |
parent | 99d546ce72f40e28b04f09201d92d58294401591 (diff) | |
download | opie-65cf44292ac6abfb1a60be5f582cab26333cfb0a.zip opie-65cf44292ac6abfb1a60be5f582cab26333cfb0a.tar.gz opie-65cf44292ac6abfb1a60be5f582cab26333cfb0a.tar.bz2 |
* moving oxygendata and kmolweights
* fixing the datafile-problems (thanks to Max)
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 @@ #include <qdir.h> #include <qfile.h> +#include <qpe/qpeapplication.h> #include <iostream.h> @@ -37,5 +38,5 @@ void KMolCalc::readElstable() { elstable = new QDict<SubUnit> (197, TRUE); elstable->setAutoDelete(TRUE); - mwfile = "/home/opie/opie/noncore/apps/oxygen/kmolweights"; + mwfile = QPEApplication::qpeDir() +"share/oxygen/kmolweights"; QFile f(mwfile); if (f.exists()) readMwfile(f); |