Only react on own shortcut changed in desktopgrid

icc-effect-5.14.5
Martin Gräßlin 2013-09-09 09:02:19 +02:00
parent 47cc0d77f5
commit 3afa7bf5a4
1 changed files with 3 additions and 0 deletions

View File

@ -1211,6 +1211,9 @@ void DesktopGridEffect::finish()
void DesktopGridEffect::globalShortcutChanged(QAction *action, const QKeySequence& seq)
{
if (action->objectName() != QStringLiteral("ShowDesktopGrid")) {
return;
}
shortcut.clear();
shortcut.append(seq);
}