Verify that QWindow::fromWinId returned a QWindow before using it

Authored by graesslin on Jun 20 2016, 2:10 PM.

Description

Verify that QWindow::fromWinId returned a QWindow before using it

Foreign window support is not available on all platforms. E.g. on
Wayland this returns a nullptr. Thus we cannot use it.

REVIEW: 128260

Details

Committed
graesslinJul 4 2016, 8:06 AM
Parents
R278:16387505d790: Upgrade ECM and KF5 version requirements for 5.24.0 release.
Branches
Unknown
Tags
Unknown