--- applets/lancelot/libs/lancelot/Global.cpp 2009/02/08 23:11:55 923561 +++ applets/lancelot/libs/lancelot/Global.cpp 2009/02/14 16:53:45 926094 @@ -324,7 +324,10 @@ d->confMain = new KConfig("lancelot" + app + "rc"); + Plasma::Theme::defaultTheme()->setUseGlobalSettings(true); + qDebug() << "What is the plasma theme: " << Plasma::Theme::defaultTheme()->themeName(); QString search = "desktoptheme/" + Plasma::Theme::defaultTheme()->themeName() + "/lancelot/" + app + "theme.config"; + qDebug() << "Trying:" << search; QString path = KStandardDirs::locate( "data", search ); if (path.isEmpty()) { @@ -334,6 +337,8 @@ if (path.isEmpty()) { path = "lancelotrc"; } + + qDebug() << "Using theme:" << path; d->confTheme = new KConfig(path); Instance::Private::activeInstance = this;