[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/systemsettings
From: Sebastian Sauer <mail () dipe ! org>
Date: 2008-12-06 23:08:20
Message-ID: 1228604900.572423.32364.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 893594 by sebsauer:
delay loading the kcmodule plugin as well
M +4 -1 kcmultiwidget.cpp
--- trunk/KDE/kdebase/workspace/systemsettings/kcmultiwidget.cpp #893593:893594
@@ -189,7 +189,10 @@
cm.kcm = module;
cm.service = moduleinfo.service();
cm.adminmode = false;
- cm.buttons = module->buttons();
+
+ // don't use module->buttons() here since it would load the real kcmodule plugin.
+ cm.buttons = KCModule::Buttons( KCModule::Help | KCModule::Default | KCModule::Apply );
+
// "root KCMs are gone" says KControl
// if ( moduleinfo.needsRootPrivileges() && !d->hasRootKCM &&
// !KUser().isSuperUser() ) {/* If we're embedded, it's true */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic