qt6-bb10/tests/auto/gui/kernel
Christian Ehrlicher 6259f4e7b4 QGuiApplication: check return value of platformTheme::palette()
Under some circumstances (e.g. setDesktopSettingsAware(false) on
windows) it may happen that the call to platformTheme::palette() returns
a nullptr which is not checked before dereferencing the pointer.
Therefore add a check for this to avoid a crash.

Fixes: QTBUG-111527
Change-Id: I6443d5d1a9b813f499d8f65b4fee55b0b8299b16
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2023-11-14 20:24:58 +01:00
..
noqteventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaction CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qactiongroup CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaddpostroutine CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qbackingstore CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qclipboard Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00
qcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qdrag CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfileopenevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguiapplication QGuiApplication: check return value of platformTheme::palette() 2023-11-14 20:24:58 +01:00
qguieventdispatcher QEventDispatcher: test with glib disabled too 2023-08-11 16:45:40 +03:00
qguieventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguimetatype CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguitimer QTimer: extend property tests and fix binding loop 2023-09-03 18:20:51 +02:00
qguivariant CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qhighdpi CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputdevice CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputmethod tst_QInputMethod: Don't assume test is the only one calling functions 2023-10-10 19:29:27 +02:00
qkeyevent Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qkeysequence QKeySequence::toString(): Treat Modifier+Qt::Key_Unknown as empty string 2023-10-09 15:25:54 +02:00
qmouseevent Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qmouseevent_modal CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpalette Rename accent color in QPalette 2023-08-18 00:38:38 +02:00
qpixelformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrasterwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qscreen CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qshortcut Add QShortcut test for Qt::ApplicationShortcut 2023-10-04 20:36:53 +02:00
qsurfaceformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtouchevent Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
qwindow Add checking if using eglfs 2023-11-13 18:42:01 +00:00
CMakeLists.txt Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00