From c44cd4097f5f389ed01b4772aa7688e8588cc789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 15 Jun 2021 20:06:05 +0200 Subject: Doc: Remove mentioning of Qt::MidButton It's only Qt::MiddleButton in Qt 6. Change-Id: Ia68bad910c617993e30e3ed1e117192469ec50eb Reviewed-by: Edward Welbourne (cherry picked from commit 88b92f76ee977a8d0043134451c55cd28c041d8d) Reviewed-by: Qt Cherry-pick Bot --- src/gui/kernel/qevent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index adc1029754..8398878f6d 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -473,7 +473,7 @@ void QPointerEvent::clearPassiveGrabbers(const QEventPoint &point) Returns the button state when the event was generated. The button state is a combination of Qt::LeftButton, Qt::RightButton, - and Qt::MidButton using the OR operator. + and Qt::MiddleButton using the OR operator. For mouse move or \l TabletMove events, this is all buttons that are pressed down. -- cgit v1.2.3