summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtabwidget/tst_qtabwidget.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-21 20:08:56 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-21 20:08:56 (GMT)
commitaf92d15b625d2042814323fcebfa41c5bbb6b09d (patch)
tree13cf3dce4252c2b5ef166860e9a423d72f630da9 /tests/auto/qtabwidget/tst_qtabwidget.cpp
parent511c434b959be96c992e59f4a2748ac251d5c72a (diff)
parent26eda5fa33e401a1803b42e6eacf0921ddc6a14e (diff)
downloadQt-af92d15b625d2042814323fcebfa41c5bbb6b09d.zip
Qt-af92d15b625d2042814323fcebfa41c5bbb6b09d.tar.gz
Qt-af92d15b625d2042814323fcebfa41c5bbb6b09d.tar.bz2
Merge branch '4.6'
Diffstat (limited to 'tests/auto/qtabwidget/tst_qtabwidget.cpp')
-rw-r--r--tests/auto/qtabwidget/tst_qtabwidget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/qtabwidget/tst_qtabwidget.cpp b/tests/auto/qtabwidget/tst_qtabwidget.cpp
index 27c19df..1387a92 100644
--- a/tests/auto/qtabwidget/tst_qtabwidget.cpp
+++ b/tests/auto/qtabwidget/tst_qtabwidget.cpp
@@ -590,9 +590,11 @@ void tst_QTabWidget::paintEventCount()
QTest::qWait(1000);
- // Mac and Windows get multiple repaints on the first show, so use those as a starting point.
+ // Mac, Windows and Windows CE get multiple repaints on the first show, so use those as a starting point.
static const int MaxInitialPaintCount =
-#if defined(Q_WS_WIN)
+#if defined(Q_OS_WINCE)
+ 4;
+#elif defined(Q_WS_WIN)
2;
#elif defined(Q_WS_MAC)
5;