Drop not needed dynamic cast in WorkspaceWrapper::setActiveClient

This commit is contained in:
Martin Gräßlin 2015-03-12 12:24:54 +01:00
parent fe8946740c
commit 9457b362c1

View file

@ -194,7 +194,7 @@ SLOTWRAPPER(slotSwitchDesktopDown,DesktopBelow)
void WorkspaceWrapper::setActiveClient(KWin::AbstractClient* client)
{
KWin::Workspace::self()->activateClient(dynamic_cast<Client*>(client));
KWin::Workspace::self()->activateClient(client);
}
QSize WorkspaceWrapper::workspaceSize() const