on xenial help sign in
Fix whitespace issues
commit132d728fb7a061d5ee1d7da0d90315ddad93e372 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateMon 20 Oct 2014, 10:24 (12 years ago) parent6f08049
1 file changed+2−3
plugins/Ubuntu/Gestures/TouchDispatcher.cpp+2−3
plugins/Ubuntu/Gestures/TouchDispatcher.cpp+2−3
@@ -202,7 +202,7 @@ void TouchDispatcher::dispatchAsMouse(
202202 for (int i = 0; i < touchPoints.count() && !touchMouse; ++i) {
203203 const auto &touchPoint = touchPoints.at(i);
204204 if (touchPoint.id() == m_touchMouseId) {
205− touchMouse = &touchPoint;
205+ touchMouse = &touchPoint;
206206 }
207207 }
208208
@@ -234,7 +234,7 @@ void TouchDispatcher::dispatchAsMouse(
234234 m_touchMouseId = -1;
235235 } else {
236236 eventType = QEvent::MouseMove;
237− }
237+ }
238238
239239 QScopedPointer<QMouseEvent> mouseEvent(touchToMouseEvent(eventType, *touchMouse, timestamp, modifiers,
240240 true /* transformNeeded */));
@@ -322,4 +322,3 @@ QMouseEvent *TouchDispatcher::touchToMouseEvent(
322322 //QGuiApplicationPrivate::setMouseEventSource(me, Qt::MouseEventSynthesizedByQt);
323323 return me;
324324}
325−