summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdecore/kstandarddirs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/microkde/kdecore/kstandarddirs.cpp b/microkde/kdecore/kstandarddirs.cpp
index 4ab1a68..d5bfefd 100644
--- a/microkde/kdecore/kstandarddirs.cpp
+++ b/microkde/kdecore/kstandarddirs.cpp
@@ -1309,3 +1309,8 @@ void KStandardDirs::addKDEDefaults()
// <stdlib.h>
+#ifdef _WIN32_
+ QString envSt = "LOCALMICROKDEHOME="+localKdeDir;
+ _putenv( envSt.latin1());
+#else
setenv( "LOCALMICROKDEHOME", localKdeDir.latin1(), 1 );
+#endif
}