From 4f1c98773e1eccdcc7a23aede04571d576749e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 6 Mar 2015 15:33:13 +0100 Subject: [PATCH] Workspace::showWindowMenu operates on AbstractClient --- useractions.cpp | 2 +- workspace.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }