diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-25 10:02:41 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-25 10:02:41 (GMT) |
commit | ac68ae4d5f186bebb154d553e8f3a7e31ab78568 (patch) | |
tree | 681761f0e55fca68f59f14f2f35f0bc594f3d750 /tests/auto | |
parent | e482169086f6a85603ca4650e42be543533c3b50 (diff) | |
download | Qt-ac68ae4d5f186bebb154d553e8f3a7e31ab78568.zip Qt-ac68ae4d5f186bebb154d553e8f3a7e31ab78568.tar.gz Qt-ac68ae4d5f186bebb154d553e8f3a7e31ab78568.tar.bz2 |
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')
-rw-r--r-- | tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp index 32054db..9c58b24 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. |