Diffstat (limited to 'libkdepim/kpimglobalprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/kpimglobalprefs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp index 0fdc3e4..e8fd2d1 100644 --- a/libkdepim/kpimglobalprefs.cpp +++ b/libkdepim/kpimglobalprefs.cpp @@ -38,2 +38,3 @@ $Id$ #include <qfile.h> +#include <stdlib.h> #include <qtextstream.h> @@ -113,5 +114,5 @@ void KPimGlobalPrefs::setGlobalConfig() #ifndef DESKTOP_VERSION - fileName= QString(getenv("QPEDIR"))+"/pics/kdepim/"+name + fileName= QString(getenv("QPEDIR"))+"/pics/kdepim/"+name; #else - fileName = qApp->applicationDirPath () + "/kdepim/"+ name; + fileName = qApp->applicationDirPath () + "/kdepim/"+ name; #endif |