qt5base-lts/tests/auto
Tor Arne Vestbø 0bf120f5fd Ensure styles always get to polish the application palette
Before 0a93db4d82 we would polish the
application palette even when it was the default palette, as we
always recreated the system palette each time a style was set.

After the change we skipped polishing the palette unless it was set
by the user, under the assumption that the style would set its
own default palette if it wanted to override the system palette.

This turned out to break the style's ability to slightly tweak the
palette via polish (versus the more full on standardPalette approach).

We now polish both the default palette and user palettes, and we do
so as part of the normal palette update logic. This ensures that
the style also gets a chance to polish the palette when the platform
theme changes.

The polish will not have an effect on the resolve mask of the palette,
as the polish is conceptually the same as a base palette, and should
not affect e.g. Qt::AA_SetPalette.

Fixes: QTBUG-85469
Fixes: QTBUG-85188
Pick-to: 5.15
Change-Id: I869e9c442b177de4f1dc49eb75220709306f4d12
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-07-21 13:43:19 +02:00
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
corelib QCommandLineOption: purge deprecated API 2020-07-20 16:06:28 +02:00
dbus Fix passing QDBusUnixFileDescriptors over peer-to-peer connections 2020-07-13 20:45:20 +02:00
gui Cover more properties in the QAction test 2020-07-17 08:26:56 +02:00
guiapplauncher
installed_cmake
network SSL: add an autotest for handling of illegal datetimes in certificates 2020-07-17 17:50:54 +02:00
opengl CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
other Tests: Use QVERIFY instead of QCOMPARE for empty lists 2020-07-10 14:30:58 +02:00
printsupport CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
testlib testlib/selftests: Fix generate_expected_output.py 2020-07-17 22:14:56 +02:00
tools moc: allow wrapper generation for QProperty in pimpl class 2020-07-14 17:06:46 +02:00
widgets Ensure styles always get to polish the application palette 2020-07-21 13:43:19 +02:00
xml QDomNode: Add namespaceURI parameter to browse methods 2020-07-17 09:54:47 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
auto.pro CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
CMakeLists.txt CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00