if our name changes, then save it.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775276
This commit is contained in:
parent
cf89bd58d1
commit
c1d3f89a8b
@ -179,6 +179,12 @@ void Theme::setThemeName(const QString &themeName)
|
||||
d->colors = KSharedConfig::openConfig(colorsFile);
|
||||
}
|
||||
|
||||
KConfigGroup cg = d->config();
|
||||
if (cg.readEntry("name", Private::defaultTheme) != d->themeName) {
|
||||
cg.writeEntry("name", d->themeName);
|
||||
cg.config()->sync();
|
||||
}
|
||||
|
||||
emit changed();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user