Fix some error
Now I must look at new KKeyNative api svn path=/trunk/KDE/kdebase/workspace/; revision=469283
This commit is contained in:
parent
a4d91bd3ab
commit
c6736e00c9
1 changed files with 3 additions and 2 deletions
|
@ -48,6 +48,7 @@ License. See the file "COPYING" for the exact licensing terms.
|
|||
#include <QX11Info>
|
||||
#include <stdio.h>
|
||||
#include <kauthorized.h>
|
||||
#include <ktoolinvocation.h>
|
||||
|
||||
namespace KWinInternal
|
||||
{
|
||||
|
@ -965,14 +966,14 @@ QStringList Workspace::configModules(bool controlCenter)
|
|||
args << "kde-kwindecoration.desktop";
|
||||
if (controlCenter)
|
||||
args << "kde-kwinoptions.desktop";
|
||||
else if (KAuthorized::authorizeKActionControlModule("kde-kwinoptions.desktop"))
|
||||
else if (KAuthorized::authorizeControlModule("kde-kwinoptions.desktop"))
|
||||
args << "kwinactions" << "kwinfocus" << "kwinmoving" << "kwinadvanced" << "kwinrules" << "kwintranslucency";
|
||||
return args;
|
||||
}
|
||||
|
||||
void Workspace::configureWM()
|
||||
{
|
||||
KApplication::kdeinitExec( "kcmshell", configModules(false) );
|
||||
KToolInvocation::kdeinitExec( "kcmshell", configModules(false) );
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in a new issue