Commit 30d66981 authored by Laurent Montel's avatar Laurent Montel 😁

Port away from deprecated Qt::MidButton

parent 4d188729
...@@ -695,7 +695,7 @@ bool QueryResultDelegate::editorEvent(QEvent* event, ...@@ -695,7 +695,7 @@ bool QueryResultDelegate::editorEvent(QEvent* event,
} }
} else if (event->type() == QEvent::MouseButtonRelease) { } else if (event->type() == QEvent::MouseButtonRelease) {
QMouseEvent* mEvent = static_cast<QMouseEvent*>(event); QMouseEvent* mEvent = static_cast<QMouseEvent*>(event);
if (mEvent->button() == Qt::MidButton) { if (mEvent->button() == Qt::MiddleButton) {
} }
} else if (event->type() == QEvent::KeyPress) { } else if (event->type() == QEvent::KeyPress) {
QKeyEvent* kEvent = static_cast<QKeyEvent*>(event); QKeyEvent* kEvent = static_cast<QKeyEvent*>(event);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment