[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:
parent
99b5426a21
commit
b85984fe8e
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue