on xenial help sign in
Don't need the processEvents calls
commitab1237b32ba955b52906d619b4d21969a703f71a authorAlbert Astals <albert.astals@canonical.com> dateThu 20 Jun 2013, 15:23 (13 years ago) parentd530374
1 file changed−5
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertestsection.cpp−5
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertestsection.cpp−5
@@ -50,19 +50,16 @@ private:
5050 while (lvwph->contentY() + jump < dest) {
5151 lvwph->setContentY(lvwph->contentY() + jump);
5252 QTest::qWait(1);
53− qApp->processEvents();
5453 }
5554 } else {
5655 const qreal jump = -25;
5756 while (lvwph->contentY() + jump > dest) {
5857 lvwph->setContentY(lvwph->contentY() + jump);
5958 QTest::qWait(1);
60− qApp->processEvents();
6159 }
6260 }
6361 lvwph->setContentY(dest);
6462 QTest::qWait(1);
65− qApp->processEvents();
6663 }
6764
6865 void scrollToTop()
@@ -75,7 +72,6 @@ private:
7572 lvwph->setContentY(lvwph->contentY() - 1);
7673 }
7774 QTest::qWait(1);
78− qApp->processEvents();
7975 }
8076 }
8177
@@ -89,7 +85,6 @@ private:
8985 lvwph->setContentY(lvwph->contentY() + 1);
9086 }
9187 QTest::qWait(1);
92− qApp->processEvents();
9388 }
9489 }
9590