This improves two finger drag trackpad zooming and panning on a
Macbook Pro immensely because it used to redraw every touch event.
This change makes it rely on the mouse wheel events instead.
Pinch-to-zoom no longer works. Two finger drag up and down is an
alternative.
This fixes bug #1056.
pinch_zoom_active_ = false;
return false;
}
+ if (event->device()->type() == QTouchDevice::TouchPad) {
+ return false;
+ }
const QTouchEvent::TouchPoint &touchPoint0 = touchPoints.first();
const QTouchEvent::TouchPoint &touchPoint1 = touchPoints.last();