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:
parent
cafc60c3bf
commit
83f18c3191
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue