summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontdatabase.cpp
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2022-11-02 17:30:35 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-05 15:55:53 +0100
commit732d073351752530a7b6bda0bfe6c2ec264f4bd5 (patch)
treee854510bae5059ee67e0c7a43859f1fbdf2efc6e /src/gui/text/qfontdatabase.cpp
parentb3dbfdd59782e801fc5bb5e5df3ed71ae4ec2866 (diff)
Windows QPA: Always apply system background color for top level window
This is a follow-up patch of commit 2991c66b75612dfb11dbba166dd08b2376b42102 We can unset the window background brush and always draw the background ourself. Qt always paint all pixels anyway when blt'ing the backingstore, so it should be safe to do this. Since a theme might not provide a palette (e.g. when desktop setting awareness is disabled), always use the default application palette. Change-Id: I4fdc2467b3cc3999dd1acfe9411cec077ca66bd3 Reviewed-by: Yuhang Zhao <2546789017@qq.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/text/qfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions