diff options
Diffstat (limited to 'tests/auto/studio3d/q3dssurfaceviewer/tst_q3dssurfaceviewer.cpp')
-rw-r--r-- | tests/auto/studio3d/q3dssurfaceviewer/tst_q3dssurfaceviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/studio3d/q3dssurfaceviewer/tst_q3dssurfaceviewer.cpp b/tests/auto/studio3d/q3dssurfaceviewer/tst_q3dssurfaceviewer.cpp index ccda520..a4b5aa2 100644 --- a/tests/auto/studio3d/q3dssurfaceviewer/tst_q3dssurfaceviewer.cpp +++ b/tests/auto/studio3d/q3dssurfaceviewer/tst_q3dssurfaceviewer.cpp @@ -1249,7 +1249,7 @@ void tst_Q3DSSurfaceViewer::testSceneElement() QCOMPARE(spy1.count(), 6); QCOMPARE(spy2.count(), 6); - scene->setCurrentSlideIndex(0); + scene->setCurrentSlideIndex(1); checkPixel(m_viewer, Qt::red); QCOMPARE(spy1.count(), 7); @@ -1305,7 +1305,7 @@ void tst_Q3DSSurfaceViewer::testSceneElement() QCOMPARE(spy2.count(), 11); // Back to first slide for further tests - scene->setCurrentSlideIndex(0); + scene->setCurrentSlideIndex(1); checkPixel(m_viewer, Qt::red); QCOMPARE(spy1.count(), 12); |