summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicslinearlayout
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-25 13:02:41 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-09-25 13:02:41 +0300
commitac68ae4d5f186bebb154d553e8f3a7e31ab78568 (patch)
tree681761f0e55fca68f59f14f2f35f0bc594f3d750 /tests/auto/qgraphicslinearlayout
parente482169086f6a85603ca4650e42be543533c3b50 (diff)
Fix QGraphicsLinearLayout autotest for Symbian OS.
QPlastiqueStyle is not compiled for Symbian OS, but default ones seems to make the job fine since all get passed. Reviewed-by: Janne Koskinen
Diffstat (limited to 'tests/auto/qgraphicslinearlayout')
-rw-r--r--tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp
index 32054dbaa6..9c58b2459d 100644
--- a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp
+++ b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp
@@ -143,9 +143,11 @@ public:
// It is only called once.
void tst_QGraphicsLinearLayout::initTestCase()
{
+#ifndef Q_WS_S60
// since the style will influence the results, we have to ensure
// that the tests are run using the same style on all platforms
QApplication::setStyle(new QPlastiqueStyle);
+#endif
}
// This will be called after the last test function is executed.