QmlProfiler: Relay mouse move events to the timeline's parent window

Like this the DockWidget gets notified when the mouse has entered it
and can show the title bar if necessary.

Change-Id: I164b125f6a4a2099f1f95cf6f0a7699605d12051
Task-number: QTCREATORBUG-12899
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Ulf Hermann
2014-08-26 15:25:30 +02:00
parent 06da3b7f18
commit 38d69ae4ef

View File

@@ -424,6 +424,7 @@ bool QmlProfilerQuickView::event(QEvent *ev)
relayed = true; relayed = true;
} }
break; break;
case QEvent::MouseMove:
case QEvent::MouseButtonPress: case QEvent::MouseButtonPress:
case QEvent::MouseButtonRelease: { case QEvent::MouseButtonRelease: {
QMouseEvent *orig = static_cast<QMouseEvent *>(ev); QMouseEvent *orig = static_cast<QMouseEvent *>(ev);