summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 12b04f4bc..979e9c21b 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -848,6 +848,11 @@ void ProfileWidget2::mouseMoveEvent(QMouseEvent *event)
&& timeAxis->minimum() <= hValue){
mouseFollowerVertical->setPos(pos.x(), profileYAxis->line().y1());
}
+ if ( timeAxis->maximum() >= hValue
+ && timeAxis->minimum() <= hValue
+ && profileYAxis->maximum() >= vValue
+ && profileYAxis->minimum() <= vValue )
+ emit mouseMoved(hValue, vValue);
}
bool ProfileWidget2::eventFilter(QObject *object, QEvent *event)