[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [krita/akamakin/T8628-multithreading-optimization] libs/ui/input: Improve comment
From:       Andrey Kamakin <null () kde ! org>
Date:       2018-07-19 11:20:34
Message-ID: E1fg6z4-0005ss-7x () code ! kde ! org
[Download RAW message or body]

Git commit d69cbd3cfce0b2fd88672e4b47ea65b6521bfe14 by Andrey Kamakin, on b=
ehalf of Boudewijn Rempt.
Committed on 19/07/2018 at 11:14.
Pushed by akamakin into branch 'akamakin/T8628-multithreading-optimization'.

Improve comment

M  +1    -1    libs/ui/input/kis_input_manager_p.cpp

https://commits.kde.org/krita/d69cbd3cfce0b2fd88672e4b47ea65b6521bfe14

diff --git a/libs/ui/input/kis_input_manager_p.cpp b/libs/ui/input/kis_inpu=
t_manager_p.cpp
index a721f46a00f..1ad5e366b71 100644
--- a/libs/ui/input/kis_input_manager_p.cpp
+++ b/libs/ui/input/kis_input_manager_p.cpp
@@ -467,7 +467,7 @@ void KisInputManager::Private::addTouchShortcut(KisAbst=
ractInputAction* action,
 =

 bool KisInputManager::Private::addNativeGestureShortcut(KisAbstractInputAc=
tion* action, int index, KisShortcutConfiguration::GestureAction gesture)
 {
-    // each platform should decide here which gestures are handled via QtN=
ativeGestureEvent.
+    // Qt5 only implements QNativeGestureEvent for macOS
     Qt::NativeGestureType type;
     switch (gesture) {
 #ifdef Q_OS_OSX

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic