Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Server
Commits
a035d90c
Commit
a035d90c
authored
Apr 08, 2021
by
Laurent Montel
😁
Browse files
It's deprecated in qt5.15
parent
d7ec64d3
Pipeline
#57032
passed with stage
in 7 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/client/test_wayland_seat.cpp
View file @
a035d90c
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment