give the proper names for kcm modules to load; not sure about the KAuthorized thing, though

svn path=/trunk/KDE/kdebase/workspace/; revision=709211
icc-effect-5.14.5
Pino Toscano 2007-09-06 20:34:44 +00:00
parent 84c15214c5
commit f337ec8cfd
1 changed files with 2 additions and 2 deletions

View File

@ -1115,9 +1115,9 @@ void Workspace::saveDesktopSettings()
QStringList Workspace::configModules(bool controlCenter)
{
QStringList args;
args << "kde-kwindecoration.desktop";
args << "kwindecoration";
if (controlCenter)
args << "kde-kwinoptions.desktop";
args << "kwinoptions";
else if (KAuthorized::authorizeControlModule("kde-kwinoptions.desktop"))
args << "kwinactions" << "kwinfocus" << "kwinmoving" << "kwinadvanced" << "kwinrules" << "kwincompositing" << "kwineffects";
return args;