mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
make client Qt6 ready. Still need proper Makefile/CMake support...
This commit is contained in:
@@ -1282,7 +1282,11 @@ void Plot::wheelEvent(QWheelEvent *event) {
|
||||
}
|
||||
|
||||
void Plot::mouseMoveEvent(QMouseEvent *event) {
|
||||
#if QT_VERSION >= 0x060000
|
||||
int x = (int)event->position().x();
|
||||
#else
|
||||
int x = event->x();
|
||||
#endif
|
||||
|
||||
//Only run the marker place code if a mouse button is pressed
|
||||
if ((event->buttons() & Qt::LeftButton) || (event->buttons() & Qt::RightButton)) {
|
||||
|
||||
Reference in New Issue
Block a user