diff options
| author | Mitch Curtis <mitch.curtis@qt.io> | 2023-10-10 13:36:19 +0800 |
|---|---|---|
| committer | Mitch Curtis <mitch.curtis@qt.io> | 2023-10-12 15:31:32 +0800 |
| commit | 303d991136a1c3616a7f04499d76fffb2a3b7f7c (patch) | |
| tree | 019dc280528e7b06ea90914181b80c7148313cad /src/widgets/doc/snippets/code | |
| parent | d70b873c3752ff5a4103702148f9fd2593815341 (diff) | |
Allow QPalettePrivate to be used outside of qpalette.cpp
We need access to bitPosition in order to check if a role was set.
This fixes the following build error:
[...] qwindowstheme.cpp(1150): error C2220: the following warning is treated as an error
[...] qwindowstheme.cpp(1150): warning C4506: no definition for inline function 'QPalette::ResolveMask QPalettePrivate::bitPosition(QPalette::ColorGroup,QPalette::ColorRole)'
Amends 417878904b39b444632df18f7dd37bcb073c0467.
Task-number: QTBUG-116826
Change-Id: I815c7e961198ab93b6ed6132badc2ec693522472
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
