From fbe5a497b469ff4232a2bc9aef1527da9874e21a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 1 Oct 2013 12:26:26 +0200 Subject: [PATCH] [aurorae] Fix locating the config file of aurorae themes Installed to GenericDataLocation and not DataLocation. --- clients/aurorae/src/lib/auroraetheme.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/aurorae/src/lib/auroraetheme.cpp b/clients/aurorae/src/lib/auroraetheme.cpp index eed0e80f26..6126a0dde2 100644 --- a/clients/aurorae/src/lib/auroraetheme.cpp +++ b/clients/aurorae/src/lib/auroraetheme.cpp @@ -100,7 +100,8 @@ bool AuroraeTheme::isValid() const void AuroraeTheme::loadTheme(const QString &name) { KConfig conf(QStringLiteral("auroraerc")); - KConfig config(QStringLiteral("aurorae/themes/") + name + QStringLiteral("/") + name + QStringLiteral("rc"), KConfig::FullConfig, QStandardPaths::DataLocation); + KConfig config(QStringLiteral("aurorae/themes/") + name + QStringLiteral("/") + name + QStringLiteral("rc"), + KConfig::FullConfig, QStandardPaths::GenericDataLocation); KConfigGroup themeGroup(&conf, name); loadTheme(name, config); setBorderSize((KDecorationDefines::BorderSize)themeGroup.readEntry("BorderSize", KDecorationDefines::BorderNormal));