Don't duplicate connect to wl_display_flush

Authored by davidedmundson on Oct 14 2017, 5:12 AM.

Description

Don't duplicate connect to wl_display_flush

Summary:
When using the QPA's wl_display, we don't need to also flush when the
event dispatcher blocks, as Qt's QPA already does this.

This also fixes a warning on startup about a null parameter when our QPT
creates a connectionThread before the eventDispatcher is created.

Test Plan:
Confirmed the Qt wayland QPA has the same connect to the event dispatcher

Ran app:
No more warning
Still had correct window decorations

Subscribers: plasma-devel, Frameworks

Tags: Plasma on Wayland, Frameworks

Differential Revision: https://phabricator.kde.org/D8284

Details

Committed
davidedmundsonOct 14 2017, 5:14 AM
Differential Revision
D8284: Don't duplicate connect to wl_display_flush
Parents
R127:b9705b68a4d2: don't qcompare with nullptr
Branches
Unknown
Tags
Unknown