setUseGlobalSettings(false); should work also with applications that start with plasma-

svn path=/trunk/KDE/kdelibs/; revision=1141943
This commit is contained in:
Marco Martin 2010-06-23 21:16:20 +00:00
parent 0543ed0f15
commit f8cdf8c2e3

View File

@ -111,7 +111,7 @@ public:
if (!useGlobal) { if (!useGlobal) {
QString app = KGlobal::mainComponent().componentName(); QString app = KGlobal::mainComponent().componentName();
if (!app.isEmpty() && !app.startsWith("plasma-")) { if (!app.isEmpty()) {
kDebug() << "using theme for app" << app; kDebug() << "using theme for app" << app;
groupName.append("-").append(app); groupName.append("-").append(app);
} }