tst_qquickflickable: fix UB (more % in format string than arguments)

Provide the third argument.

Amends 8068bde891.

Pick-to: 6.3 6.2
Change-Id: I7f4b0043a64aae5e998309b9ea2332b6e86e2d74
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Marc Mutz 2022-05-25 20:36:07 +02:00
parent cafc60c3bf
commit 83f18c3191
1 changed files with 1 additions and 1 deletions

View File

@ -2816,7 +2816,7 @@ void tst_qquickflickable::flickWhenRotated_data()
for (const auto fr : rotations) {
if (pr <= 90) {
for (const auto s : scales)
QTest::addRow("parent: %g, flickable: %g, scale: %g", pr, fr) << pr << fr << s;
QTest::addRow("parent: %g, flickable: %g, scale: %g", pr, fr, s) << pr << fr << s;
} else {
// don't bother trying every scale with every set of rotations, to save time
QTest::addRow("parent: %g, flickable: %g, scale: 1", pr, fr) << pr << fr << qreal(1);