Commit a6e25ea9 authored by Don Gagne's avatar Don Gagne Committed by Lorenz Meier

Turn off touch events for Mac OS (#3404)

parent 4656294b
......@@ -39,7 +39,12 @@
QGCQuickWidget::QGCQuickWidget(QWidget* parent) :
QQuickWidget(parent)
{
#ifndef __macos__
// The following causes the Map control to hang after doing a pinch gesture on mac trackpads.
// By not turning this on for macos we lose pinch gesture, but two finger scroll still zooms the map.
// So it's a decent workaround. Qt bug reported: 53634
setAttribute(Qt::WA_AcceptTouchEvents);
#endif
rootContext()->engine()->addImportPath("qrc:/qml");
rootContext()->setContextProperty("joystickManager", qgcApp()->toolbox()->joystickManager());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment