diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-04 09:32:30 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-04 09:50:50 +0000 |
commit | 54781edbaabc563f1fb6e4f14edc35e675009ac7 (patch) | |
tree | 236536aba292f496face666635eb03b6cb37d629 /tests/manual/touch | |
parent | 67509693bdac23af4e062140a1b1058dee3f060b (diff) |
Manual touch test: Add color for Qt::MouseEventSynthesizedByApplication.
Fix a warning about a missing case statement.
Change-Id: Ic89646704d62668cf83c463dbf6e9b549a4b5200
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'tests/manual/touch')
-rw-r--r-- | tests/manual/touch/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |