Diffstat (limited to 'noncore/applets/zkbapplet/keyzcfg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/zkbapplet/keyzcfg/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/applets/zkbapplet/keyzcfg/main.cpp b/noncore/applets/zkbapplet/keyzcfg/main.cpp index afd0f6a..d7926f0 100644 --- a/noncore/applets/zkbapplet/keyzcfg/main.cpp +++ b/noncore/applets/zkbapplet/keyzcfg/main.cpp | |||
@@ -1,5 +1,7 @@ | |||
1 | #include <stdio.h> | 1 | #include <stdio.h> |
2 | #include <qpe/qpeapplication.h> | 2 | #include <qpe/qpeapplication.h> |
3 | #include <qpe/global.h> | ||
4 | |||
3 | #include <qlayout.h> | 5 | #include <qlayout.h> |
4 | #include <qmainwindow.h> | 6 | #include <qmainwindow.h> |
5 | 7 | ||
@@ -9,7 +11,7 @@ int main( int argc, char **argv ) { | |||
9 | QPEApplication app(argc, argv); | 11 | QPEApplication app(argc, argv); |
10 | CfgFile cfile; | 12 | CfgFile cfile; |
11 | CfgParser cp; | 13 | CfgParser cp; |
12 | cp.load(QPEApplication::qpeDir()+"share/zkb/zkb.xml", cfile); | 14 | cp.load(Global::applicationFileName("zkb", "zkb.xml"), cfile); |
13 | 15 | ||
14 | 16 | ||
15 | CfgDlg c(0, &cfile, &app, true); | 17 | CfgDlg c(0, &cfile, &app, true); |