qt6-bb10/tests/auto/gui
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
..
image Add QPixmapIconEngine::isNull() 2023-11-08 11:11:48 +01:00
itemmodels QStandardItem: store Qt::UserRole-1 in a static constexpr var 2023-11-14 21:23:50 +02:00
kernel QGuiApplication: check return value of platformTheme::palette() 2023-11-14 20:24:58 +01:00
math3d Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
painting tests/auto/*: port Q_FOREACH to ranged-for, make container const 2023-08-19 16:29:30 +03:00
platform CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopengl CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglconfig CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qvulkan Skip QVulkan autotests on Android 2023-10-30 12:43:14 +02:00
rhi tst_qrhi: Exercise a readonly storage buffer in the simple test 2023-11-08 16:15:18 +02:00
text Skip mixedScript test on platforms with no Hangul font 2023-11-02 17:41:14 +01:00
util Fix digit grouping: m_grouping_top doesn't mean what I thought it did 2023-08-08 19:44:56 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00