Changeset 110058 in webkit
- Timestamp:
- Mar 7, 2012 8:56:24 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r110054 r110058 1 2012-03-07 Dinu Jacob <dinu.jacob@nokia.com> 2 3 [Qt] REGRESSION(r109575) Broke tap-to-zoom gesture 4 https://bugs.webkit.org/show_bug.cgi?id=80425 5 6 Reviewed by Simon Hausmann. 7 8 Set startScreenPos in mock touch point 9 10 * MiniBrowser/qt/MiniBrowserApplication.cpp: 11 (MiniBrowserApplication::notify): 12 * MiniBrowser/qt/MiniBrowserApplication.h: 13 (MiniBrowserApplication): 14 1 15 2012-03-07 Simon Hausmann <simon.hausmann@nokia.com> 2 16 -
trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.cpp
r109576 r110058 160 160 touchPoint.setState(Qt::TouchPointPressed); 161 161 touchType = QEvent::TouchBegin; 162 m_startScreenPos = mouseEvent->screenPos(); 162 163 } 163 164 break; … … 193 194 } 194 195 196 // Set the screen pos as the scene pos as canvas translates the touch events. 197 touchPoint.setStartScenePos(m_startScreenPos); 198 195 199 // Update current touch-point 196 200 m_touchPoints.insert(touchPoint.id(), touchPoint); -
trunk/Tools/MiniBrowser/qt/MiniBrowserApplication.h
r109575 r110058 112 112 QPointF m_lastPos; 113 113 QPointF m_lastScreenPos; 114 QPointF m_startScreenPos; 114 115 115 116 QHash<int, QTouchEvent::TouchPoint> m_touchPoints;
Note: See TracChangeset
for help on using the changeset viewer.