1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-23 19:25:54 +01:00

Fixed Android build

This commit is contained in:
Martin Tůma 2024-09-06 00:28:16 +02:00
parent 1a1db7f916
commit 037d621f50

View File

@ -213,7 +213,10 @@ void MapItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
update();
#ifdef Q_OS_ANDROID
Popup::show(event->screenPos(), info(), event->widget());
GraphicsScene *gs = dynamic_cast<GraphicsScene *>(scene());
if (gs)
Popup::show(event->screenPos(), info(gs->showExtendedInfo()),
event->widget());
#endif // Q_OS_ANDROID
}