mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-06 23:52:51 +02:00
Get rid of QT_NO_DEPRECATED_WARNINGS
This commit is contained in:
@ -38,9 +38,9 @@ static inline QPoint POS(QMouseEvent *e)
|
||||
{
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
return e->pos();
|
||||
#else // QT 5.15
|
||||
#else // QT 6
|
||||
return e->position().toPoint();
|
||||
#endif // QT 5.15
|
||||
#endif // QT 6
|
||||
}
|
||||
|
||||
GraphView::GraphView(QWidget *parent)
|
||||
|
Reference in New Issue
Block a user