diff options
author | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2024-04-22 14:44:25 +0200 |
---|---|---|
committer | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2024-04-26 02:24:54 +0200 |
commit | 7d7d843a3eacf11d2e9e5c2dd596f6daa3ab46f7 (patch) | |
tree | ace8bbcf2fcdccfde8a2d1ea298ca72b4464330b /src/gui/kernel/qshapedpixmapdndwindow.cpp | |
parent | 98b034e53a7821018683c05d5dba776f0f2753f0 (diff) |
Windows11Style:Save unpolished palette for QAbstractScrollArea::viewport
When using QWindows11Style, the viewports background has to be set to
Qt::transparent to have the effect of rounded corners in ItemViews and
Combobox flyouts. Other Windows styles do not make use of transparent
windows, so this polishment needs to be reverted in case the style
changes. Other styles also do not manipulate the
QAbstractScrollArea::viewport palette and thus changing color schemes
results in not applying the new color scheme.
Fixes: QTBUG-123928
Pick-to: 6.7 6.7.1
Change-Id: Icb529124f63587e75bb56e40e8b1fcfe3c61c55d
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/gui/kernel/qshapedpixmapdndwindow.cpp')
0 files changed, 0 insertions, 0 deletions