mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
40cb57b202
commit
ed230f8aac
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue