indentation fixes

caught some inconsistencies
This commit is contained in:
Triplelexx 2016-02-03 00:13:45 +00:00
parent 087e2e7f66
commit 9db45c01cc
2 changed files with 16 additions and 17 deletions

View file

@ -76,7 +76,6 @@ void TouchscreenDevice::touchUpdateEvent(const QTouchEvent* event) {
} }
void TouchscreenDevice::touchGestureEvent(const QGestureEvent* event) { void TouchscreenDevice::touchGestureEvent(const QGestureEvent* event) {
// pinch gesture
if (QGesture* gesture = event->gesture(Qt::PinchGesture)) { if (QGesture* gesture = event->gesture(Qt::PinchGesture)) {
QPinchGesture* pinch = static_cast<QPinchGesture*>(gesture); QPinchGesture* pinch = static_cast<QPinchGesture*>(gesture);
qreal scaleFactor = pinch->totalScaleFactor(); qreal scaleFactor = pinch->totalScaleFactor();