diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-03-15 14:17:37 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-17 22:02:49 +0000 |
commit | 9021cb4083d00519441103f325cbb8ebc2656f08 (patch) | |
tree | 0b420da64bb3467b576291c1ba9572bb57281214 /tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp | |
parent | 03ad0c2968f811da7fea4e947b09bdf17de51d14 (diff) |
QLibrary: restore translated string
We want to pick this change to LTS branches, so we cannot change the
translated string.
Instead of fixing the order of placeholders, use multi-arg, which
performs only a single pass over the input and doesn't suffer from
placeholder injection by interpolation the way .arg() chaining does.
Requires to use QString::number(), though.
Amends 3636325946b471d48043540e309bf6f52be45331.
Change-Id: I6484a052115096c609edfea27dfd36b196efc1b6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 73d0174f50374090d0d0b45322e86b2ca825886d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/time/qdatetime/tst_qdatetime.cpp')
0 files changed, 0 insertions, 0 deletions