diff --git a/rules.cpp b/rules.cpp index a55f869263..66d28f29f0 100644 --- a/rules.cpp +++ b/rules.cpp @@ -16,6 +16,7 @@ License. See the file "COPYING" for the exact licensing terms. #include #include #include +#include #ifndef KCMRULES #include "client.h" @@ -947,7 +948,7 @@ void Workspace::editWindowRules( Client* c, bool whole_app ) args << "--wid" << QString::number( c->window()); if( whole_app ) args << "--whole-app"; - KApplication::kdeinitExec( "kwin_rules_dialog", args ); + KToolInvocation::kdeinitExec( "kwin_rules_dialog", args ); } void Workspace::loadWindowRules()