From 859553b1297bbd44586333094fcd69052ca1b8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 17 Feb 2015 13:53:52 +0100 Subject: [PATCH] Drop needless creation of KWindowInfo instance in Workspace::addClient Completely unused and got (probably accidentally) introduced with the merge of the kwin scripting GSOC project. --- workspace.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index dc066dd129..dcf4479f58 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -66,7 +66,6 @@ along with this program. If not, see . #include #include #include -#include // Qt #include @@ -485,8 +484,6 @@ void Workspace::addClient(Client* c) { Group* grp = findGroup(c->window()); - KWindowInfo info(c->window(), NET::WMAllProperties, NET::WM2WindowClass); - emit clientAdded(c); if (grp != NULL)