diff options
| author | Axel Spoerl <axel.spoerl@qt.io> | 2025-02-28 08:35:20 +0100 |
|---|---|---|
| committer | Axel Spoerl <axel.spoerl@qt.io> | 2025-03-17 20:41:29 +0100 |
| commit | 70b8dd2b7eb1a874ff0ac8b4e42b03d639321394 (patch) | |
| tree | 70fccc906a5bfb5ff95d0e99b7917cbd524467c4 /src/sql/models/qsqlquerymodel.cpp | |
| parent | dd7065616665e983349263bc5d600d764e164003 (diff) | |
Re-implement QPlatformTheme::requestColorScheme() in QKdeTheme
QKdeTheme remained unresponsive to programmatic color scheme changes,
after QPlatformTheme::requestColorScheme() had been introduced.
Add functionality to QKdeTheme.
Fall back to qt_fusion_palette, when the requested color scheme isn't
supported by the current KDE theme (e.g. Adwaita-dark doesn't support
light mode).
Functionality has to be manually tested with the widget gallery
example.
Task-number: QTBUG-132929
Fixes: QTBUG-134023
Change-Id: I37e56cc36803dcb8527a897ddcada29b322a5ada
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Piotr WierciĆski <piotr.wiercinski@qt.io>
Diffstat (limited to 'src/sql/models/qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions
