mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 15:17:42 +02:00
indentation fixes
caught some inconsistencies
This commit is contained in:
parent
087e2e7f66
commit
9db45c01cc
2 changed files with 16 additions and 17 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue