qt6-bb10/tests/auto/gui/kernel/qguiapplication
Eirik Aavitsland 7f782e1fc4 Fix crash if QPixmap::defaultDepth() is called when no QGuiApplication
This static method can be called before QGuiApplication is created. At
that point there is yet no primary screen, so the implementation
needs to guard against dereferencing a nullptr.

Task-number: QTBUG-67309
Change-Id: I6b7b9e97b1c3c79bf2f9c6d6247c3b10f39f7a55
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-04-12 21:22:20 +00:00
..
icons
qguiapplication.pro
testplugin.json
tst_qguiapplication.cpp Fix crash if QPixmap::defaultDepth() is called when no QGuiApplication 2018-04-12 21:22:20 +00:00
tst_qguiapplication.qrc