[aurorae] Fix locating the config file of aurorae themes
Installed to GenericDataLocation and not DataLocation.
This commit is contained in:
parent
cd6fadc84c
commit
fbe5a497b4
1 changed files with 2 additions and 1 deletions
|
@ -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<int>("BorderSize", KDecorationDefines::BorderNormal));
|
||||
|
|
Loading…
Reference in a new issue