[aurorae] Recreate decoration on config change

Border size might have changed and because of that we need to recreate
the decoration.
This commit is contained in:
Martin Gräßlin 2014-06-23 07:42:18 +02:00
parent 99b5426a21
commit b85984fe8e

View file

@ -185,6 +185,9 @@ void AuroraeFactory::updateConfiguration()
if (m_engineType == AuroraeEngine) {
m_theme->setBorderSize((KDecorationDefines::BorderSize)themeGroup.readEntry<int>("BorderSize", KDecorationDefines::BorderNormal));
m_theme->setButtonSize((KDecorationDefines::BorderSize)themeGroup.readEntry<int>("ButtonSize", KDecorationDefines::BorderNormal));
} else {
// we don't know how the settings change -> recreate
emit recreateDecorations();
}
emit configChanged();
}