diff options
author | Dominik Holland <dominik.holland@nokia.com> | 2010-07-26 14:15:47 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-11-02 14:28:44 (GMT) |
commit | 9967695bf224d6518fa411f0441e0605e61e0bf5 (patch) | |
tree | 3f59c3bd33ed6c032f8197c424b76228a6e1e917 /tests/auto/qgraphicseffect | |
parent | efc4e9c3602d569a8437db52c09edd7fb6a6dc34 (diff) | |
download | Qt-9967695bf224d6518fa411f0441e0605e61e0bf5.zip Qt-9967695bf224d6518fa411f0441e0605e61e0bf5.tar.gz Qt-9967695bf224d6518fa411f0441e0605e61e0bf5.tar.bz2 |
Fixed QGraphicsEffect autotest to use platform quirks
Diffstat (limited to 'tests/auto/qgraphicseffect')
-rw-r--r-- | tests/auto/qgraphicseffect/tst_qgraphicseffect.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qgraphicseffect/tst_qgraphicseffect.cpp b/tests/auto/qgraphicseffect/tst_qgraphicseffect.cpp index 07fa630..5315cd1 100644 --- a/tests/auto/qgraphicseffect/tst_qgraphicseffect.cpp +++ b/tests/auto/qgraphicseffect/tst_qgraphicseffect.cpp @@ -51,6 +51,7 @@ #include "../../shared/util.h" #include <private/qgraphicseffect_p.h> +#include "../platformquirks.h" //TESTED_CLASS= //TESTED_FILES= @@ -710,7 +711,10 @@ void tst_QGraphicsEffect::prepareGeometryChangeInvalidateCache() scene.addItem(item); QGraphicsView view(&scene); - view.show(); + if(PlatformQuirks::isAutoMaximizing()) + view.showFullScreen(); + else + view.show(); QTest::qWaitForWindowShown(&view); QTRY_COMPARE(item->nbPaint, 1); |