forked from qt-creator/qt-creator
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:
@@ -424,6 +424,7 @@ bool QmlProfilerQuickView::event(QEvent *ev)
|
||||
relayed = true;
|
||||
}
|
||||
break;
|
||||
case QEvent::MouseMove:
|
||||
case QEvent::MouseButtonPress:
|
||||
case QEvent::MouseButtonRelease: {
|
||||
QMouseEvent *orig = static_cast<QMouseEvent *>(ev);
|
||||
|
||||
Reference in New Issue
Block a user