summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication_p.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2019-03-28 17:32:23 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2019-05-01 20:29:16 +0000
commitef3daddae1720956e746142ac7ee54a27b9299d7 (patch)
treea2dfe70653fc6d4a0b55be135e57a1c42af7a948 /src/gui/kernel/qguiapplication_p.h
parent5f4b03659b1e2318acb87fd9bf7325f707dfa0ad (diff)
Use QPlatformTheme::TouchDoubleTapDistance for touch events
... and update the cached values on theme change. Modify tst_QWidget::touchEventSynthesizedMouseEvent() to avoid unexpected double click detection. Change-Id: I151c47e851ebba7550b1b09caca2781c28d7d3d9 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
-rw-r--r--src/gui/kernel/qguiapplication_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h
index 042a36c31f..482d45e5c3 100644
--- a/src/gui/kernel/qguiapplication_p.h
+++ b/src/gui/kernel/qguiapplication_p.h
@@ -211,7 +211,6 @@ public:
static Qt::MouseButton mousePressButton;
static int mousePressX;
static int mousePressY;
- static int mouse_double_click_distance;
static QPointF lastCursorPosition;
static QWindow *currentMouseWindow;
static QWindow *currentMousePressWindow;