From 4838fc287e0463b39c45223346f8e40229581bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Sat, 1 Nov 2008 19:20:52 +0000 Subject: [PATCH] better solution, don't change configModules() svn path=/branches/KDE/4.1/kdebase/workspace/; revision=878776 --- workspace.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index 5c2128cd4f..7948d5f646 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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 ); } /*!