Commit 96c1344a authored by Boudewijn Rempt's avatar Boudewijn Rempt

Update this patch so it applies cleanly to 5.12.3

parent 84fa9b58
From 30f28be2a239d82c2d7f2d6a37df4acb300d7cef Mon Sep 17 00:00:00 2001 diff --git a/qtbase/src/plugins/platforms/windows/qwindowstabletsupport.cpp b/qtbase/src/plugins/platforms/windows/qwindowstabletsupport.cpp
From: Dmitry Kazakov <dimula73@gmail.com> index fa209f09c..d31998825 100644
Date: Sat, 13 Apr 2019 20:29:14 +0300 --- a/qtbase/src/plugins/platforms/windows/qwindowstabletsupport.cpp
Subject: [PATCH] Disable tablet relative mode in Qt +++ b/qtbase/src/plugins/platforms/windows/qwindowstabletsupport.cpp
@@ -497,6 +497,11 @@ bool QWindowsTabletSupport::translateTabletPacketEvent()
---
src/plugins/platforms/windows/qwindowstabletsupport.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/plugins/platforms/windows/qwindowstabletsupport.cpp b/src/plugins/platforms/windows/qwindowstabletsupport.cpp
index 31655101..3e35b146 100644
--- a/src/plugins/platforms/windows/qwindowstabletsupport.cpp
+++ b/src/plugins/platforms/windows/qwindowstabletsupport.cpp
@@ -562,6 +562,11 @@ bool QWindowsTabletSupport::translateTabletPacketEvent()
m_state = PenDown; m_state = PenDown;
m_mode = (mouseLocation - globalPosF).manhattanLength() > m_absoluteRange m_mode = (mouseLocation - globalPosF).manhattanLength() > m_absoluteRange
? MouseMode : PenMode; ? MouseMode : PenMode;
...@@ -23,6 +14,3 @@ index 31655101..3e35b146 100644 ...@@ -23,6 +14,3 @@ index 31655101..3e35b146 100644
qCDebug(lcQpaTablet) << __FUNCTION__ << "mode=" << m_mode << "pen:" qCDebug(lcQpaTablet) << __FUNCTION__ << "mode=" << m_mode << "pen:"
<< globalPosF << "mouse:" << mouseLocation; << globalPosF << "mouse:" << mouseLocation;
} }
--
2.20.1.windows.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment