summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-14 01:33:20 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:05:43 +0200
commit6545cbf647692554e98651255b3f6a297d166c67 (patch)
treebe3b04e3b40ce2affca073490c3957fa79c6e78e
parente7495712f7c82eb8804f9fcb382786ac567ed8cf (diff)
downloadtdelibs-6545cbf647692554e98651255b3f6a297d166c67.tar.gz
tdelibs-6545cbf647692554e98651255b3f6a297d166c67.zip
Fix creation of profile directory in system root
This closes Bug 293 (cherry picked from commit 049525ee6a9c51485354f02531a2dfd63829cabd)
-rw-r--r--kdecore/kconfigbackend.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kdecore/kconfigbackend.cpp b/kdecore/kconfigbackend.cpp
index fe4dfda8e..d2ee19f47 100644
--- a/kdecore/kconfigbackend.cpp
+++ b/kdecore/kconfigbackend.cpp
@@ -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;