authorizeKAction -> authorizeAction
This commit is contained in:
parent
f99a456f33
commit
8db4a6ff39
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ bool UserActionsMenu::isMenuClient(const AbstractClient *c) const
|
||||||
|
|
||||||
void UserActionsMenu::show(const QRect &pos, const QWeakPointer<AbstractClient> &cl)
|
void UserActionsMenu::show(const QRect &pos, const QWeakPointer<AbstractClient> &cl)
|
||||||
{
|
{
|
||||||
if (!KAuthorized::authorizeKAction(QStringLiteral("kwin_rmb")))
|
if (!KAuthorized::authorizeAction(QStringLiteral("kwin_rmb")))
|
||||||
return;
|
return;
|
||||||
if (cl.isNull())
|
if (cl.isNull())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue