Diffusion Clazy 4f08e25c1268

qstring-arg: Warn when passing integers to QLatin1String::arg()

Authored by smartins on Dec 28 2019, 4:23 PM.

Description

qstring-arg: Warn when passing integers to QLatin1String::arg()

Those don't do what you want, or rather don't do what QString::arg()
would do. The integers are implicitly cast to QChar.

Suggested by Christian Ehrlicher in QTBUG-80991

Details

Committed
smartinsDec 28 2019, 4:26 PM
Parents
R74:521990d9fbb1: Fix typo: s/Errot/Error
Branches
Unknown
Tags
Unknown