summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-14 01:33:20 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-14 01:33:20 -0500
commit049525ee6a9c51485354f02531a2dfd63829cabd (patch)
treecf09b3e2e8919820f0920cc87e6d248fe0de5eb0 /tdecore
parente7d1e3171c07b7fc530c0fe36a5511f5181bfada (diff)
downloadtdelibs-049525ee6a9c51485354f02531a2dfd63829cabd.tar.gz
tdelibs-049525ee6a9c51485354f02531a2dfd63829cabd.zip
Fix creation of profile directory in system root
This closes Bug 293
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/kconfigbackend.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tdecore/kconfigbackend.cpp b/tdecore/kconfigbackend.cpp
index 966c8c219..9ee9dd606 100644
--- a/tdecore/kconfigbackend.cpp
+++ b/tdecore/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;