diff options
author | Edward Welbourne <[email protected]> | 2020-07-21 12:16:09 +0200 |
---|---|---|
committer | Edward Welbourne <[email protected]> | 2020-08-22 21:47:36 +0200 |
commit | 16e546e32fec393bc3b126f280114bcbfa7151ff (patch) | |
tree | 0d8d1f88fdd29ba5a28c3a5039bd7f6e6b76727c /src/gui/kernel/qevent.cpp | |
parent | 4b1ffab8ad95eda737fde015c243442a28de8e23 (diff) |
Properly deprecate Qt::MidButton in favor of Qt::MiddleButton
MidButton had its // ### Qt 5: remove me
upgraded to Qt 6 at 5.0; but it dates back to 4.7.0
Replace the many remaining uses of MidButton with MiddleButton in the
process.
Pick-to: 5.15
Change-Id: Idc1b1b1816673dfdb344d703d101febc823a76ff
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index c8f28545140..df8a18beb04 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -735,7 +735,7 @@ Qt::MouseEventFlags QMouseEvent::flags() const Returns the button state when the event was generated. The button state is a combination of Qt::LeftButton, Qt::RightButton, - Qt::MidButton using the OR operator. For mouse move events, + Qt::MiddleButton using the OR operator. For mouse move events, this is all buttons that are pressed down. For mouse press and double click events this includes the button that caused the event. For mouse release events this excludes the button that |