[aurorae] Fix loading of theme's config values

This commit is contained in:
Martin Gräßlin 2014-12-05 14:53:55 +01:00
parent 0d997b1093
commit 798b1ad860

View file

@ -462,7 +462,7 @@ void Decoration::init()
QVariant Decoration::readConfig(const QString &key, const QVariant &defaultValue) QVariant Decoration::readConfig(const QString &key, const QVariant &defaultValue)
{ {
KSharedConfigPtr config = KSharedConfig::openConfig(QStringLiteral("auroraerc")); KSharedConfigPtr config = KSharedConfig::openConfig(QStringLiteral("auroraerc"));
return config->group(QStringLiteral("Plastik")).readEntry(key, defaultValue); return config->group(m_themeName).readEntry(key, defaultValue);
} }
void Decoration::setupBorders(QQuickItem *item) void Decoration::setupBorders(QQuickItem *item)