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>
This commit is contained in:
Tomaz Canabrava 2013-05-08 17:48:20 -03:00 committed by Dirk Hohndel
parent ef7ace9926
commit 688276b6f2

View file

@ -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)