diff --git a/useractions.cpp b/useractions.cpp index eaa68961ad..3e9e549ab9 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -1793,7 +1793,7 @@ void Workspace::slotWindowOperations() showWindowMenu(QRect(pos, pos), active_client); } -void Workspace::showWindowMenu(const QRect &pos, Client* cl) +void Workspace::showWindowMenu(const QRect &pos, AbstractClient* cl) { m_userActionsMenu->show(pos, cl); } diff --git a/workspace.h b/workspace.h index ff94d46ae7..ad9c48da89 100644 --- a/workspace.h +++ b/workspace.h @@ -256,7 +256,7 @@ public: * Shows the menu operations menu for the client and makes it active if * it's not already. */ - void showWindowMenu(const QRect& pos, Client* cl); + void showWindowMenu(const QRect& pos, AbstractClient* cl); const UserActionsMenu *userActionsMenu() const { return m_userActionsMenu; }