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; mLocalFileName = KGlobal::dirs()->saveLocation(resType) + mfileName;
if (useKDEGlobals) if (useKDEGlobals)
mGlobalFileName = KGlobal::dirs()->saveLocation("config") + mGlobalFileName = KGlobal::dirs()->saveLocation("config", TQString(), false) + TQString::fromLatin1("kdeglobals");
TQString::fromLatin1("kdeglobals");
else else
mGlobalFileName = TQString::null; mGlobalFileName = TQString::null;

Loading…
Cancel
Save