correct theme loading

svn path=/trunk/KDE/kdebase/runtime/; revision=1174584
This commit is contained in:
Aaron J. Seigo 2010-09-12 21:15:13 +00:00
parent cb03d05b27
commit 13dffe7866

View File

@ -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);