diff options
| author | David Faure <faure@kde.org> | 2014-05-05 10:58:11 +0200 | 
|---|---|---|
| committer | David Faure <faure@kde.org> | 2014-05-05 10:58:11 +0200 | 
| commit | 6bb0a14db4ff6fba9a2bc24b4e57c1155e264df8 (patch) | |
| tree | d29f7638d195156934a91872a1fb28971ae5103a /src/core | |
| parent | 155a702448b39e00a820b74ab13bee1e715eb642 (diff) | |
| download | kconfig-6bb0a14db4ff6fba9a2bc24b4e57c1155e264df8.tar.gz kconfig-6bb0a14db4ff6fba9a2bc24b4e57c1155e264df8.tar.bz2 | |
Revert "Store app config file in ~/.config/<domain>/<app>rc"
This reverts commit 625e124898afad04ab5c3939b1b129b6014046cd.
Let's take the time to think about a better solution, possibly.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/kconfig.cpp | 10 | 
1 files 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) | 
