summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-06-15 20:06:05 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-17 12:28:54 +0000
commit9eff3072ed47c91d5e20099de9525149c4c8b7a8 (patch)
treee9c4c1cd2fcf13ab4e5f04cbdb0a43c91cc186a0 /src/gui
parentbbc2076b7d13e68a9c31de2e837538f7f0ee1ecc (diff)
Doc: Remove mentioning of Qt::MidButton
It's only Qt::MiddleButton in Qt 6. Change-Id: Ia68bad910c617993e30e3ed1e117192469ec50eb Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 88b92f76ee977a8d0043134451c55cd28c041d8d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 4e6de35c94..14daf3089b 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -474,7 +474,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.