summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-08 17:48:20 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-08 14:20:15 -0700
commit688276b6f200c5d8b44ab5b6092265a93f7c0b41 (patch)
tree818e58b65d1ccb5359a38a395a4d7bd2d77b3ac9 /qt-ui/profilegraphics.cpp
parentef7ace9926276f401cceb45d546a7134eeea0f00 (diff)
downloadsubsurface-688276b6f200c5d8b44ab5b6092265a93f7c0b41.tar.gz
Fix moving the ToolTip box with the mouse.
When I changed the way that the tooltip box behaved, I accidentaly 'ate' the mouseMoveEvent, it was being used only to show tooltips instead of everything that it should have. this simple patch fixes it. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/profilegraphics.cpp')
-rw-r--r--qt-ui/profilegraphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 1d1b5530c..271bd43ab 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -141,6 +141,7 @@ void ProfileGraphicsView::mouseMoveEvent(QMouseEvent* event)
if (!item->toolTip().isEmpty())
toolTip->addToolTip(item->toolTip());
}
+ QGraphicsView::mouseMoveEvent(event);
}
bool ProfileGraphicsView::eventFilter(QObject* obj, QEvent* event)