[effects/flipswitch] Add a const ref
Summary: Add a const reference to match prototype of KGlobalAccel::globalShortcutChanged. Test Plan: Compiles. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D26668
This commit is contained in:
parent
55b4912004
commit
91d89a9840
2 changed files with 2 additions and 2 deletions
|
@ -805,7 +805,7 @@ void FlipSwitchEffect::selectNextOrPreviousWindow(bool forward)
|
|||
//*************************************************************
|
||||
// Keyboard handling
|
||||
//*************************************************************
|
||||
void FlipSwitchEffect::globalShortcutChanged(QAction *action, QKeySequence shortcut)
|
||||
void FlipSwitchEffect::globalShortcutChanged(QAction *action, const QKeySequence &shortcut)
|
||||
{
|
||||
if (action->objectName() == QStringLiteral("FlipSwitchAll")) {
|
||||
m_shortcutAll.clear();
|
||||
|
|
|
@ -86,7 +86,7 @@ public:
|
|||
private Q_SLOTS:
|
||||
void toggleActiveCurrent();
|
||||
void toggleActiveAllDesktops();
|
||||
void globalShortcutChanged(QAction *action, QKeySequence shortcut);
|
||||
void globalShortcutChanged(QAction *action, const QKeySequence &shortcut);
|
||||
void slotWindowAdded(KWin::EffectWindow* w);
|
||||
void slotWindowClosed(KWin::EffectWindow *w);
|
||||
void slotTabBoxAdded(int mode);
|
||||
|
|
Loading…
Reference in a new issue