summaryrefslogtreecommitdiffabout
Unidiff
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
@@ -1307,7 +1307,12 @@ void KStandardDirs::addKDEDefaults()
1307#endif 1307#endif
1308 qDebug("Using local conf dir %s ",localKdeDir.latin1() ); 1308 qDebug("Using local conf dir %s ",localKdeDir.latin1() );
1309 // <stdlib.h> 1309 // <stdlib.h>
1310#ifdef _WIN32_
1311 QString envSt = "LOCALMICROKDEHOME="+localKdeDir;
1312 _putenv( envSt.latin1());
1313#else
1310 setenv( "LOCALMICROKDEHOME", localKdeDir.latin1(), 1 ); 1314 setenv( "LOCALMICROKDEHOME", localKdeDir.latin1(), 1 );
1315#endif
1311 } 1316 }
1312#endif 1317#endif
1313 } 1318 }