From 3f7859b5575453dc72d0e2b6d8255254631f0dac Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 6 Dec 2011 17:37:54 +0100 Subject: [PATCH] if the shortcut hasn't changed, don't try and update it --- applet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applet.cpp b/applet.cpp index 694d72c84..a8b39dcd6 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1567,6 +1567,8 @@ void Applet::setGlobalShortcut(const KShortcut &shortcut) foreach (QWidget *w, widgets) { w->addAction(d->activationAction); } + } else if (d->activationAction->globalShortcut() == shortcut) { + return; } //kDebug() << "before" << shortcut.primary() << d->activationAction->globalShortcut().primary();