Make the Tooltip Item work on the new profile.

Just refresh the tooltip item.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-02-05 15:25:24 -02:00 committed by Dirk Hohndel
parent 40cb57b202
commit ed230f8aac
2 changed files with 4 additions and 2 deletions

View file

@ -525,7 +525,7 @@ void ProfileWidget2::scrollViewTo(const QPoint& pos)
void ProfileWidget2::mouseMoveEvent(QMouseEvent* event)
{
//toolTipItem->refresh(&gc, mapToScene(event->pos()));
toolTipItem->refresh(mapToScene(event->pos()));
QPoint toolTipPos = mapFromScene(toolTipItem->pos());
if (zoomLevel == 0) {
QGraphicsView::mouseMoveEvent(event);