summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/mainwindowsnippet.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2025-07-26 20:42:32 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2025-08-19 14:51:13 +0200
commit072bf40fe9597bdd910bb0c1e6a754c1a468b844 (patch)
treee6ad73f7aab055c3be1a0d6d88374fbe4e6e5caf /src/widgets/doc/snippets/mainwindowsnippet.cpp
parent82dc4b35a0a911f49fc7444c97d32cb35ef053dd (diff)
Windows11Style: don't modify palette for QAbstractScrollArea
Don't modify the palette just to make sure the background of the viewport does not overdraw the widget's frame. Use setAutoFillBackground(false) instead as the style paints the whole area by itself so it's not needed to rely on a clean paint area. Pick-to: 6.10 6.9 6.8 Fixes: QTBUG-139051 Task-number: QTBUG-138401 Change-Id: Iaba0c82eaeeefec3e4ad79804df78a14bac9a3a6 Reviewed-by: Nodir Temirkhodjaev <nodir.temir@gmail.com> Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mainwindowsnippet.cpp')
0 files changed, 0 insertions, 0 deletions