Paul Olav Tvete be090d4d41 Cleanup and null ptr check
Don't crash if we ask for the surface before the window is created.
Also clean up NULL/0/nullptr and a c-style cast.

Change-Id: I2a5a66ee76a3a12c8ca32847dbe30cc640e924c2
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@hawaiios.org>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
2016-09-18 07:02:28 +00:00
2016-09-18 07:02:28 +00:00
Description
Qt Base (Core, Gui, Widgets, Network, ...)
822 MiB
Languages
C++ 84.3%
HTML 4.9%
C 3.9%
CMake 3.6%
Objective-C++ 2%
Other 0.8%