Fix creation of profile directory in system root

This closes Bug 293
(cherry picked from commit 049525ee6a)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent e7495712f7
commit 6545cbf647

@ -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