Workspace::showWindowMenu operates on AbstractClient
This commit is contained in:
parent
c357ac01fe
commit
4f1c98773e
2 changed files with 2 additions and 2 deletions
|
@ -1793,7 +1793,7 @@ void Workspace::slotWindowOperations()
|
||||||
showWindowMenu(QRect(pos, pos), active_client);
|
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);
|
m_userActionsMenu->show(pos, cl);
|
||||||
}
|
}
|
||||||
|
|
|
@ -256,7 +256,7 @@ public:
|
||||||
* Shows the menu operations menu for the client and makes it active if
|
* Shows the menu operations menu for the client and makes it active if
|
||||||
* it's not already.
|
* it's not already.
|
||||||
*/
|
*/
|
||||||
void showWindowMenu(const QRect& pos, Client* cl);
|
void showWindowMenu(const QRect& pos, AbstractClient* cl);
|
||||||
const UserActionsMenu *userActionsMenu() const {
|
const UserActionsMenu *userActionsMenu() const {
|
||||||
return m_userActionsMenu;
|
return m_userActionsMenu;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue