summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentrun.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-08-27 22:13:37 +0200
committerMarc Mutz <marc.mutz@qt.io>2025-09-09 12:35:39 +0000
commite10dff283a41aaf555885c912d4363bcf1f14958 (patch)
tree983da88093df606607590f705f9447410e3c4c6e /src/concurrent/qtconcurrentrun.cpp
parent85cb3f5c896c46832e970122b3e9304097c7d777 (diff)
util/unicode: prepare qFatal()s for being passed views
... instead of QByteArrays. Define a new qPrinableView(x) macro that expands to x.size(), x.data(), suitably cast so "%.*s" will accept it, then apply it to all strings printed in qFatal()s that might become views soon. As a drive-by, improve the (touched) messages by mentioning the line number and using "" to delimit variable output. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I82434f6c8522a84daf18367a8ab5cafb74453f1c Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions