diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-21 11:57:37 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-22 11:15:17 +0200 |
commit | f3a34ce8890c68c04212eafa0ae2c9eeeb60b555 (patch) | |
tree | 1344ecfc685fe8b522144a0cf586941121336c91 /tests | |
parent | 354d59cd8e7972525e5978d970ef5e64edb14898 (diff) | |
download | qtlocation-f3a34ce8890c68c04212eafa0ae2c9eeeb60b555.tar.gz |
Replace Qt::MidButton with Qt::MiddleButton
The latter has been the preferred name since Qt 4.7.0.
Pick-to: 5.15
Change-Id: I2f47bd54b971252d1c3abe601c3709c8da4ab5ad
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp index b8866b48..0bc9b113 100644 --- a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp +++ b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp @@ -46,7 +46,7 @@ QDeclarativePinchGenerator::QDeclarativePinchGenerator(): replaySpeedFactor_(1.0), enabled_(true) { - setAcceptedMouseButtons(Qt::LeftButton | Qt::MidButton | Qt::RightButton); + setAcceptedMouseButtons(Qt::LeftButton | Qt::MiddleButton | Qt::RightButton); swipeTimer_.invalidate(); device_ = new QTouchDevice; device_->setType(QTouchDevice::TouchScreen); |