From 9457b362c180ee72d248d68069c5ec34348af124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Mar 2015 12:24:54 +0100 Subject: [PATCH] Drop not needed dynamic cast in WorkspaceWrapper::setActiveClient --- scripting/workspace_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripting/workspace_wrapper.cpp b/scripting/workspace_wrapper.cpp index 9f80555ff8..7c6b943439 100644 --- a/scripting/workspace_wrapper.cpp +++ b/scripting/workspace_wrapper.cpp @@ -194,7 +194,7 @@ SLOTWRAPPER(slotSwitchDesktopDown,DesktopBelow) void WorkspaceWrapper::setActiveClient(KWin::AbstractClient* client) { - KWin::Workspace::self()->activateClient(dynamic_cast(client)); + KWin::Workspace::self()->activateClient(client); } QSize WorkspaceWrapper::workspaceSize() const