Fix creation of profile directory in system root

This closes Bug 293
pull/16/head
Timothy Pearson 13 years ago
parent e7d1e3171c
commit 049525ee6a

@ -255,8 +255,7 @@ void KConfigBackEnd::changeFileName(const TQString &_fileName,
mLocalFileName = KGlobal::dirs()->saveLocation(resType) + mfileName;
if (useKDEGlobals)
mGlobalFileName = KGlobal::dirs()->saveLocation("config") +
TQString::fromLatin1("kdeglobals");
mGlobalFileName = KGlobal::dirs()->saveLocation("config", TQString(), false) + TQString::fromLatin1("kdeglobals");
else
mGlobalFileName = TQString::null;

Loading…
Cancel
Save