summaryrefslogtreecommitdiffstats
path: root/config.profiles/harmattan/patches/tst_qprogressbar.diff
blob: d252fe3e36f7f9b048b83193c2ea5f9f1132f89b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: qt-maemo-qtp/tests/auto/qprogressbar/tst_qprogressbar.cpp
===================================================================
--- qt-maemo-qtp.orig/tests/auto/qprogressbar/tst_qprogressbar.cpp
+++ qt-maemo-qtp/tests/auto/qprogressbar/tst_qprogressbar.cpp
@@ -179,10 +179,14 @@
     bar.repainted = false;
     bar.setFormat("%v of %m (%p%)");
     qApp->processEvents();
+
+#if 0 // Removed
 #ifndef Q_WS_MAC
     // The Mac scroll bar is animated, which means we get paint events all the time.
     QVERIFY(!bar.repainted);
 #endif
+#endif
+
     QCOMPARE(bar.text(), QString("1 of 10 (10%)"));
     bar.setRange(5, 5);
     bar.setValue(5);