From 95ec57b2f9df64dc40067c3a2278438029517f4c Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 30 Mar 2005 16:36:11 +0000 Subject: win fix --- 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() #endif qDebug("Using local conf dir %s ",localKdeDir.latin1() ); // +#ifdef _WIN32_ + QString envSt = "LOCALMICROKDEHOME="+localKdeDir; + _putenv( envSt.latin1()); +#else setenv( "LOCALMICROKDEHOME", localKdeDir.latin1(), 1 ); +#endif } #endif } -- cgit v0.9.0.2