summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-08-19 09:48:14 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-09-23 04:39:41 +0000
commit0889e9da20b8f016795ec2e7352b1e2f1678098d (patch)
treef311b708338554057dec9e5ba758c8cb18ac2c07 /src/printsupport
parentceb3c2ea621a5c5542eb6d127625a934b865e869 (diff)
QColor: provide QLatin1String overloads of functions taking QString
The inefficiency of QColor(const char*) came to light by a recent refactoring which showed that the existing char* overload of qt_get_hex_rgb() was never called. So, provide a QLatin1String interface for named colors that allows user code to reach that internal function without converting to QString first. Change-Id: I74df7b570ef28c00e35ca4adf46c4b7c7e9994b3 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Anton Kudryavtsev <a.kudryavtsev@netris.ru>
Diffstat (limited to 'src/printsupport')
0 files changed, 0 insertions, 0 deletions