Title: [105718] trunk/Tools
Revision
105718
Author
[email protected]
Date
2012-01-24 03:19:46 -0800 (Tue, 24 Jan 2012)

Log Message

[Qt] Fix the event timestamps for touch mocking

Reviewed by Simon Hausmann.

* MiniBrowser/qt/MiniBrowserApplication.cpp:
(MiniBrowserApplication::sendTouchEvent): We should not set QEvent::None as the
timestamp argument in the QWindowSystemInterface::handleTouchEvent call.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (105717 => 105718)


--- trunk/Tools/ChangeLog	2012-01-24 11:05:13 UTC (rev 105717)
+++ trunk/Tools/ChangeLog	2012-01-24 11:19:46 UTC (rev 105718)
@@ -1,3 +1,13 @@
+2012-01-24  Andras Becsi  <[email protected]>
+
+        [Qt] Fix the event timestamps for touch mocking
+
+        Reviewed by Simon Hausmann.
+
+        * MiniBrowser/qt/MiniBrowserApplication.cpp:
+        (MiniBrowserApplication::sendTouchEvent): We should not set QEvent::None as the
+        timestamp argument in the QWindowSystemInterface::handleTouchEvent call.
+
 2012-01-24  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Implement DownloadClient in WebKit2 GTK+ API

Modified: trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp (105717 => 105718)


--- trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp	2012-01-24 11:05:13 UTC (rev 105717)
+++ trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp	2012-01-24 11:19:46 UTC (rev 105718)
@@ -179,7 +179,7 @@
     }
 
     m_pendingFakeTouchEventCount++;
-    QWindowSystemInterface::handleTouchEvent(browserWindow, QEvent::None, device, m_touchPoints.values());
+    QWindowSystemInterface::handleTouchEvent(browserWindow, device, m_touchPoints.values());
 
     if (!m_windowOptions.useTraditionalDesktopBehavior())
         browserWindow->updateVisualMockTouchPoints(m_touchPoints.values());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to