From 6bb0a14db4ff6fba9a2bc24b4e57c1155e264df8 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 5 May 2014 10:58:11 +0200 Subject: Revert "Store app config file in ~/.config//rc" This reverts commit 625e124898afad04ab5c3939b1b129b6014046cd. Let's take the time to think about a better solution, possibly. --- src/core/kconfig.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index d3dc4173..ea9746c0 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -534,14 +534,8 @@ QString KConfig::mainConfigName() return globalName; } - QString fileName; - const QString domain = QCoreApplication::organizationDomain(); - if (!domain.isEmpty()) { - fileName = domain + QLatin1Char('/'); - } - - fileName += QCoreApplication::applicationName() + QLatin1String("rc"); - return fileName; + QString appName = QCoreApplication::applicationName(); + return appName + QLatin1String("rc"); } void KConfigPrivate::changeFileName(const QString &name) -- cgit v1.2.1