It's deprecated in qt5.15
This commit is contained in:
parent
da81f4c9e8
commit
2908a02d92
1 changed files with 3 additions and 0 deletions
|
@ -631,7 +631,10 @@ void TestWaylandSeat::testPointerButton_data()
|
|||
|
||||
QTest::newRow("left") << Qt::LeftButton << quint32(BTN_LEFT);
|
||||
QTest::newRow("right") << Qt::RightButton << quint32(BTN_RIGHT);
|
||||
//Deprecated in qt5.15
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||
QTest::newRow("mid") << Qt::MidButton << quint32(BTN_MIDDLE);
|
||||
#endif
|
||||
QTest::newRow("middle") << Qt::MiddleButton << quint32(BTN_MIDDLE);
|
||||
QTest::newRow("back") << Qt::BackButton << quint32(BTN_BACK);
|
||||
QTest::newRow("x1") << Qt::XButton1 << quint32(BTN_BACK);
|
||||
|
|
Loading…
Reference in a new issue