summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-07-30 09:36:04 +0300
committerMarc Mutz <marc.mutz@kdab.com>2016-08-01 16:07:16 +0000
commitd38f86e50b01c6dd60f5a97355031e08d6a47d18 (patch)
tree13dcdf647e32a9828c831bb84e22d74fc0c24242 /src/widgets/kernel/qwidget.h
parent49c892328223dfa2502b462d8e5e8e181f4f6cd5 (diff)
QColor: remove 158 avoidable relocations
Instead of storing a pointer to a string, store the string in the RGBData struct. It's not as efficient as in other such cases, because one string is particularly long, but it's still more than acceptable. Text size increases slightly, but data size decreases a lot (can't say by how much, exactly, as I'm on a UBSan build). Change-Id: I1df2985fd1ebfccd84b48315d8d319dd9e25c8e7 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/widgets/kernel/qwidget.h')
0 files changed, 0 insertions, 0 deletions