author | zautrix <zautrix> | 2005-03-30 16:36:11 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-30 16:36:11 (UTC) |
commit | 95ec57b2f9df64dc40067c3a2278438029517f4c (patch) (side-by-side diff) | |
tree | e1abf6285aa4facedde892dddf1d38baa21b6fb0 /microkde | |
parent | 8c160d7aeeab1d22382ced11440712f6541a6db7 (diff) | |
download | kdepimpi-95ec57b2f9df64dc40067c3a2278438029517f4c.zip kdepimpi-95ec57b2f9df64dc40067c3a2278438029517f4c.tar.gz kdepimpi-95ec57b2f9df64dc40067c3a2278438029517f4c.tar.bz2 |
win fix
-rw-r--r-- | microkde/kdecore/kstandarddirs.cpp | 5 |
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 } |