diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-04 17:50:54 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-05 04:28:33 +0200 |
commit | 3f3c140d639813e15c95309a1356577f489ea4ff (patch) | |
tree | e07a715d47e2aa8bcd253f5f47880b1ec104d7bd /examples | |
parent | 8d3a91016506fd0afedb0be535f7c34a4ca762f6 (diff) |
Follow up on move of resolveMask into QPalettePrivate
The old QPalette move constructor and assignment operators only exchanged
the d-pointer, but left the resolveMask of the moved-to palette instance
untouched.
This was clearly wrong. With the move of the resolveMask to the private in
556511f9f39ddc887481e0cd5a877134ceb0da6b, the resolveMask is moved, as one
would expect.
However, this broke the inheritance of palettes in QtQuickControls2, as
QQuickPaletteColorProvider::inheritPalette did not restore the mask of the
resulting palette to the mask of the palette that inherited from.
Change-Id: I7436d3e493e06b8619102212ac7b707daa973b2a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Vitaly Fanaskov <vt4a2hqt@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions