summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/kmolcalc.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/kmolcalc.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/kmolcalc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/kmolcalc.cpp b/noncore/apps/checkbook/kmolcalc.cpp
index e5ab736..50e1375 100644
--- a/noncore/apps/checkbook/kmolcalc.cpp
+++ b/noncore/apps/checkbook/kmolcalc.cpp
@@ -2,6 +2,7 @@
* kmolcalc.cpp
*
* Copyright (C) 2000 Tomislav Gountchev <tomi@idiom.com>
+ * Copyright (C) 2002 Carsten Niehaus <cniehaus@handhelds.org>
*/
/**
@@ -13,6 +14,7 @@
#include "kmolcalc.h"
#include <qdict.h>
#include <qdir.h>
+#include <qfile.h>
#include <iostream.h>
@@ -35,7 +37,7 @@ void KMolCalc::readElstable() {
elstable = new QDict<SubUnit> (197, TRUE);
elstable->setAutoDelete(TRUE);
QStringList files;// = // KGlobal::dirs()->findAllResources("appdata", "kmolweights");
-// mwfile = locateLocal("data", "kmol")+"/kmolweights";
+ mwfile = "/home/opie/opie/noncore/apps/oxigen/kmolweights";
QFile f(mwfile);
QString* latest_f = &mwfile;
for (uint i=0; i<files.count(); i++) {