summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-05 12:08:10 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-07 06:25:36 +0100
commita6903f3da80418aca511e230d9c5f2f9e423be7d (patch)
tree55eabdda2417936edec30c63a6351995bac7cb16 /src/corelib/kernel
parent4398836817dbfcf51c153d53414b2b04c1eab087 (diff)
Fix a mistake when using QLatin1String::arg
QLatin1String::arg (and QStringView::arg) only support string-like arguments, and QLatin1String("%1").arg(123) does *not* produce the string "123" -- 123 gets routed through the QChar(int) constructor instead. Fix by using QString. Change-Id: I96371a15e1af957ef8133e30e79eb3e22b3e9d32 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions