diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-09-13 14:38:53 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-15 09:11:35 +0200 |
commit | 5bb0c7c5cacb0f741420d16be26768c156d4f288 (patch) | |
tree | c3579255f82ae1b360de3d5ac73ce2fcd21708de /tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp | |
parent | b6389bb6d4a85d1096cf3001b889364e8f31cac2 (diff) | |
download | qtbase-5bb0c7c5cacb0f741420d16be26768c156d4f288.tar.gz |
Fixed crash in tst_QPathClipper.
QPathClipper uses QPainter which requires QGuiApplication.
Task-number: QTBUG-21402
Change-Id: If08b0ddee97cad347450fa06878f787e94292854
Reviewed-on: http://codereview.qt-project.org/4777
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp')
-rw-r--r-- | tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp b/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp index 57a56b2d1a..5a7c803eea 100644 --- a/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp +++ b/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp @@ -1328,7 +1328,7 @@ void tst_QPathClipper::qtbug3778() QVERIFY(p12.contains(QPointF(100, 100))); } -QTEST_APPLESS_MAIN(tst_QPathClipper) +QTEST_MAIN(tst_QPathClipper) #include "tst_qpathclipper.moc" |