vfodisplay WheelEvent pos

QT version check for compatibility pos or position
1.2.0
PianetaRadio 2022-04-12 20:25:54 +02:00 zatwierdzone przez GitHub
rodzic 9486e3d17f
commit 0f0c46126a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -141,7 +141,11 @@ void vfoDisplay::wheelEvent(QWheelEvent *event)
{
event->accept();
#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
QPointF pointerPos = event->position();
#else
QPointF pointerPos = event->pos();
#endif
for (int i = 1; i < 10; i ++)
{