diff --git a/tests/manual/touch/main.cpp b/tests/manual/touch/main.cpp
index 2a5c2b508ed9a885aa36fabdf788afe9a1ebd4d6..6fa81413614bff7a8e07947bbcf76ed2a70c1c53 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;
         }