Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
b7e8611e
Commit
b7e8611e
authored
May 12, 2015
by
Martin Flöser
Browse files
[autotest] Drop custom flush code in testWaylandSeat
The flush handling for blocking is done in ConnectionThread, so not needed.
parent
09bfc4ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_wayland_seat.cpp
View file @
b7e8611e
...
...
@@ -121,14 +121,6 @@ void TestWaylandSeat::init()
m_connection
->
moveToThread
(
m_thread
);
m_thread
->
start
();
connect
(
QCoreApplication
::
eventDispatcher
(),
&
QAbstractEventDispatcher
::
aboutToBlock
,
m_connection
,
[
this
]()
{
if
(
m_connection
->
display
())
{
wl_display_flush
(
m_connection
->
display
());
}
}
);
m_connection
->
initConnection
();
QVERIFY
(
connectedSpy
.
wait
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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