Set window state on QEvent::PlatformSurface on Qt 5.5+.

Authored by hein on Oct 11 2016, 10:18 AM.

Description

Set window state on QEvent::PlatformSurface on Qt 5.5+.

Summary: Identical to code in Plasma::Dialog, also needed here.

Reviewers: Plasma, mart

Subscribers: plasma-devel

Tags: Plasma

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