-rw-r--r-- | korganizer/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp index 6843595..a357988 100644 --- a/korganizer/main.cpp +++ b/korganizer/main.cpp | |||
@@ -58,5 +58,7 @@ int main( int argc, char **argv ) | |||
58 | QString fileName ; | 58 | QString fileName ; |
59 | #ifndef DESKTOP_VERSION | 59 | #ifndef DESKTOP_VERSION |
60 | KStandardDirs::setAppDir( Global::applicationFileName( "korganizer", "" ) ); | 60 | QString appdir = QDir::homeDirPath() + "/kdepim/apps/" + KGlobal::getAppName(); |
61 | KStandardDirs::setAppDir( appdir ); | ||
62 | |||
61 | fileName = getenv("QPEDIR"); | 63 | fileName = getenv("QPEDIR"); |
62 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/korganizer/"); | 64 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/korganizer/"); |