1
0
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:
2024-06-05 10:01:16 +02:00
parent 592b552721
commit d750715bed
10 changed files with 63 additions and 41 deletions

View File

@ -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)