Commit 4f33fbc2 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlJsDebugger: Fix observer navigation on Mac OS X

Seems that mouse events aren't sent through the viewport on Mac OS X.
parent ff976b98
...@@ -80,6 +80,7 @@ QDeclarativeViewObserver::QDeclarativeViewObserver(QDeclarativeView *view, QObje ...@@ -80,6 +80,7 @@ QDeclarativeViewObserver::QDeclarativeViewObserver(QDeclarativeView *view, QObje
data->currentTool = data->selectionTool; data->currentTool = data->selectionTool;
data->view->setMouseTracking(true); data->view->setMouseTracking(true);
data->view->viewport()->installEventFilter(this); data->view->viewport()->installEventFilter(this);
data->debugService = QDeclarativeObserverService::instance(); data->debugService = QDeclarativeObserverService::instance();
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