Only react on own shortcut changed in desktopgrid

This commit is contained in:
Martin Gräßlin 2013-09-09 09:02:19 +02:00
parent 47cc0d77f5
commit 3afa7bf5a4

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);
}