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:
parent
1a1db7f916
commit
037d621f50
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user