when changing the use globals setting, reset the state of the theme to comply
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820932
This commit is contained in:
parent
b5855d7b20
commit
d03c0f5eb6
@ -315,7 +315,14 @@ bool Theme::windowTranslucencyEnabled() const
|
||||
|
||||
void Theme::setUseGlobalSettings(bool useGlobal)
|
||||
{
|
||||
if (d->useGlobal == useGlobal) {
|
||||
return;
|
||||
}
|
||||
|
||||
d->useGlobal = useGlobal;
|
||||
d->cfg = KConfigGroup();
|
||||
d->themeName = QString();
|
||||
settingsChanged();
|
||||
}
|
||||
|
||||
bool Theme::useGlobalSettings() const
|
||||
|
Loading…
Reference in New Issue
Block a user