correct theme loading
svn path=/trunk/KDE/kdebase/runtime/; revision=1174584
This commit is contained in:
parent
cb03d05b27
commit
13dffe7866
@ -83,8 +83,8 @@ PlasmaKPart::~PlasmaKPart()
|
||||
|
||||
void PlasmaKPart::setThemeDefaults()
|
||||
{
|
||||
KConfigGroup cg(KSharedConfig::openConfig("plasmarc"), "Theme-plasma-netbook" );
|
||||
const QString themeName = cg.readEntry("name", "air" );
|
||||
KConfigGroup cg(KSharedConfig::openConfig("plasmarc"), "Theme-plasma-kpart" );
|
||||
const QString themeName = cg.readEntry("name", "default");
|
||||
Plasma::Theme::defaultTheme()->setUseGlobalSettings(false);
|
||||
Plasma::Theme::defaultTheme()->setThemeName(themeName);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user