rendered paste bodyIndex: workspace/kdm/kfrontend/kgapp.cpp
===================================================================
--- workspace/kdm/kfrontend/kgapp.cpp (revision 680253)
+++ workspace/kdm/kfrontend/kgapp.cpp (working copy)
@@ -144,8 +144,8 @@
_colorScheme = KStandardDirs::locate( "data", "kdisplay/color-schemes/" + _colorScheme + ".kcsrc" );
if (!_colorScheme.isEmpty()) {
- KConfig config( _colorScheme, KConfig::OnlyLocal);
- app.setPalette( KGlobalSettings::createApplicationPalette( &config ) );
+ KSharedConfigPtr config = KSharedConfig::openConfig( _colorScheme, KConfig::OnlyLocal );
+ app.setPalette( KGlobalSettings::createApplicationPalette( config ) );
}
KdmThemer *themer;