diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-04-15 23:36:12 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-04-22 20:21:34 +0200 |
| commit | fb555ff7dfc7ee0506d5834f7f13aa315c45041d (patch) | |
| tree | cde3f86f01fe453c0dd745353183eafb29d74a22 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 48f161e12931201aa301bfc42986b456894dc737 (diff) | |
macOS: Lazily recreate theme palette on theme change
QCocoaTheme::palette() lazily creates the system and role palette
when needed, which we rely on for the initial palette values, so
there's no need to recreate them explicitly during theme change,
as the reset should be enough to recreate them the next time they
are needed.
Change-Id: I14f127e93554b8f97c06f1b88e6216be59124811
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
