From 54781edbaabc563f1fb6e4f14edc35e675009ac7 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 4 May 2016 09:32:30 +0200 Subject: Manual touch test: Add color for Qt::MouseEventSynthesizedByApplication. Fix a warning about a missing case statement. Change-Id: Ic89646704d62668cf83c463dbf6e9b549a4b5200 Reviewed-by: Shawn Rutledge --- tests/manual/touch/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/manual/touch') diff --git a/tests/manual/touch/main.cpp b/tests/manual/touch/main.cpp index 2a5c2b508e..6fa8141361 100644 --- a/tests/manual/touch/main.cpp +++ b/tests/manual/touch/main.cpp @@ -261,6 +261,9 @@ QColor Point::color() const case Qt::MouseEventSynthesizedByQt: globalColor = Qt::blue; break; + case Qt::MouseEventSynthesizedByApplication: + globalColor = Qt::green; + break; case Qt::MouseEventNotSynthesized: break; } -- cgit v1.2.3