diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-12 01:37:05 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-12 19:55:17 +0200 |
commit | de82d239f814cf2a717bea0defeee3732384e271 (patch) | |
tree | 2da5d584adf618b6401ba733e873cb06b1a95d1e /examples | |
parent | 166753d8e00e11d2fa92d3bfbe5667ad4b8f7b9d (diff) |
Make QColor a literal type
Extracted from the SVG names patch.
It basically just requires adding a constexpr constructor to the
inner union, then sprinkling constexpr on the existing ones.
Do minor refactorings as drive-by.
Change-Id: I60e7a1c9068def3507cb07440450e51673269f84
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions