better solution, don't change configModules()

svn path=/branches/KDE/4.1/kdebase/workspace/; revision=878776
This commit is contained in:
André Wöbbeking 2008-11-01 19:20:52 +00:00
parent a2ff31904f
commit 4838fc287e

View file

@ -1135,7 +1135,6 @@ void Workspace::saveDesktopSettings()
QStringList Workspace::configModules(bool controlCenter)
{
QStringList args;
args << "--icon" << "preferences-system-windows";
args << "kwindecoration";
if (controlCenter)
args << "kwinoptions";
@ -1146,7 +1145,10 @@ QStringList Workspace::configModules(bool controlCenter)
void Workspace::configureWM()
{
KToolInvocation::kdeinitExec( "kcmshell4", configModules(false) );
QStringList args;
args << "--icon" << "preferences-system-windows"
<< configModules(false) ;
KToolInvocation::kdeinitExec( "kcmshell4", args );
}
/*!