author | ulf69 <ulf69> | 2004-07-02 15:35:34 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-02 15:35:34 (UTC) |
commit | b21b6754c93e5aaa53638a060e26f4efea755d37 (patch) (side-by-side diff) | |
tree | 2a78ca54cda74c2bff11c1244741d1bc48994ad6 /kabc | |
parent | bb7ad945c1541684a02e853fdaabd0e3ba74f8df (diff) | |
download | kdepimpi-b21b6754c93e5aaa53638a060e26f4efea755d37.zip kdepimpi-b21b6754c93e5aaa53638a060e26f4efea755d37.tar.gz kdepimpi-b21b6754c93e5aaa53638a060e26f4efea755d37.tar.bz2 |
removed references to Global::applicationFileName because this call creates the appdir
in ~/Applications/ which is not correct for MicroKDE
-rw-r--r-- | kabc/stdaddressbook.cpp | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/kabc/stdaddressbook.cpp b/kabc/stdaddressbook.cpp index 144a9dc..075f12f 100644 --- a/kabc/stdaddressbook.cpp +++ b/kabc/stdaddressbook.cpp @@ -24,22 +24,9 @@ Copyright (c) 2004 Ulf Schenk $Id$ */ -/*US -#include <stdlib.h> - -#include <kapplication.h> -#include <kcrash.h> -#include <ksimpleconfig.h> -*/ - -#ifndef DESKTOP_VERSION -#include <qpe/global.h> -#else #include <qdir.h> -#endif - #include "resource.h" #include <kresources/manager.h> #include <kdebug.h> #include <klocale.h> @@ -100,9 +87,11 @@ QString StdAddressBook::setTempAppDir() else appdir += "/kaddressbook/"; KStandardDirs::setAppDir( QDir::convertSeparators( appdir )); #else - KStandardDirs::setAppDir( Global::applicationFileName( "kaddressbook", "" ) ); + QString appdir = QDir::homeDirPath() + "/kdepim/apps/kaddressbook"; + + KStandardDirs::setAppDir( appdir ); #endif return appDIR; } |