]> sigrok.org Git - pulseview.git/commit
viewport: event->position() isn't Qt 5.12, tweak version check
authorGerhard Sittig <redacted>
Sat, 29 Oct 2022 19:37:21 +0000 (21:37 +0200)
committerGerhard Sittig <redacted>
Mon, 21 Nov 2022 12:36:06 +0000 (13:36 +0100)
commita7988e20ee451ccc81f43635af41c3bff1ccc783
tree1d7d751985c0d1f240511bc9f6d228f17ae98a2a
parent18a155ce647d22975bae484c853a94a0091d544d
viewport: event->position() isn't Qt 5.12, tweak version check

According to https://doc.qt.io/qt-5/qwheelevent.html#position the
QWheelEvent::position() method was introduced in Qt 5.14. Adjust
the Qt version check to unbreak builds with Qt 5.12.
pv/views/trace/viewport.cpp