qt5base-lts/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 Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00
qguiapplication.pro Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00
testplugin.json Fix events being processed on application start 2012-09-26 19:54:19 +02:00
tst_qguiapplication.cpp Fix crash if QPixmap::defaultDepth() is called when no QGuiApplication 2018-04-12 21:22:20 +00:00
tst_qguiapplication.qrc Add support for -qwindowicon command line argument. 2014-05-02 10:03:31 +02:00