Fix some error

Now I must look at new KKeyNative api

svn path=/trunk/KDE/kdebase/workspace/; revision=469283
This commit is contained in:
Laurent Montel 2005-10-10 15:52:58 +00:00
parent a4d91bd3ab
commit c6736e00c9

View file

@ -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) );
}
/*!