diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-03-23 14:09:03 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-03-23 17:36:52 +0100 |
commit | c14f3deca91eb6e7ab23f5f73004f4f824b97d95 (patch) | |
tree | 1770fd7d40346694ab36466859477ee4efbfe55c /src/3rdparty/harfbuzz-ng/src | |
parent | 9ff75d4ea11c78ad4acaf5f51e119b5039595837 (diff) |
Fix deprecation warnings from NSColor(Space) with macOS 10.14 SDK
The support for handling color spaces by names is deprecated in
recent AppKit versions, and should be replaced by using
NSColor.type, and operations on the type-specific properties of
the color.
Merge the two implementations from qcoregraphics.mm and
qcocoacolordialoghelper.mm, which also fixes the inconsistent
interpretation of color components as device dependent (in
qcoregraphics) or generic (in qcocoacolordialoghelper). We now
always populate the QColor with device independent components.
Change-Id: Id79c609736ff1962bebe4bd7158781a6d1b4475e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src')
0 files changed, 0 insertions, 0 deletions