diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-28 14:48:41 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-28 14:59:10 +0100 |
commit | 80e3eef8da06801c73d28c1b1e580fb003d482f5 (patch) | |
tree | 245a05b823fb68af491623ca8a56c65fa0e67958 /src/widget/wpushbutton.cpp | |
parent | 8c11eec451c5fc87f66df2a03ef5150a67e7e6a6 (diff) |
WSpinny: Replace deprecated Qt::MidButton
src/widget/wspinny.cpp: In member function ‘virtual void WSpinny::mouseMoveEvent(QMouseEvent*)’:
src/widget/wspinny.cpp:593:35: error: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead [-Werror=deprecated-declarations]
593 | } else if (e->buttons() & Qt::MidButton) {
| ^~~~~~~~~
In file included from /usr/include/qt/QtCore/qcoreevent.h:43,
from /usr/include/qt/QtCore/QEvent:1,
from src/widget/wspinny.h:5,
from src/widget/wspinny.cpp:1:
/usr/include/qt/QtCore/qnamespace.h:132:9: note: declared here
132 | MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
| ^~~~~~~~~
Diffstat (limited to 'src/widget/wpushbutton.cpp')
0 files changed, 0 insertions, 0 deletions