summaryrefslogtreecommitdiffstats
path: root/tests/manual/touch/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/touch/main.cpp')
-rw-r--r--tests/manual/touch/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/manual/touch/main.cpp b/tests/manual/touch/main.cpp
index fb0c8559f9..66ad02f78b 100644
--- a/tests/manual/touch/main.cpp
+++ b/tests/manual/touch/main.cpp
@@ -256,6 +256,9 @@ QColor Point::color() const
case Qt::MouseEventSynthesizedByQt:
globalColor = Qt::blue;
break;
+ case Qt::MouseEventSynthesizedByApplication:
+ globalColor = Qt::green;
+ break;
case Qt::MouseEventNotSynthesized:
break;
}