[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/kglobalaccel
From: Michael Jansen <kde () michael-jansen ! biz>
Date: 2010-03-28 21:34:01
Message-ID: 20100328213401.8A7CDAC883 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1108433 by mjansen:
1st inform the application that a global shortcut was triggered. THEN do
anything else.
M +4 -1 globalshortcutsregistry.cpp
--- trunk/KDE/kdebase/runtime/kglobalaccel/globalshortcutsregistry.cpp #1108432:1108433
@@ -225,6 +225,10 @@
long timestamp = 0;
#endif
+ // 1st Invoke the action
+ emit invokeAction(data, timestamp);
+
+ // Then do anything else
KNotification *notification = new KNotification(
"globalshortcutpressed",
KNotification::CloseOnTimeout);
@@ -236,7 +240,6 @@
notification->sendEvent();
- emit invokeAction(data, timestamp);
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic