better solution, don't change configModules()
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=878776
This commit is contained in:
parent
a2ff31904f
commit
4838fc287e
1 changed files with 4 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in a new issue