Diffusion KWin ee7da425cefc

Unpolish QStyle on QApp prior to destroying internal Wayland connection

Authored by graesslin on Nov 3 2016, 10:00 AM.

Description

Unpolish QStyle on QApp prior to destroying internal Wayland connection

Summary:
The QStyle might interact with our internal Wayland connection. If the
cleanup happens after destroying our internal Wayland connection KWin
will crash at tear-down.

With this change the QStyle can perform cleanup already prior to the
deconstruction of the Wayland connection.

CCBUG: 372001

Reviewers: KWin, Plasma on Wayland

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

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

Details