diff options
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp | 2 | ||||
-rw-r--r-- | tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp b/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp index ea11768a4b..e4708f358b 100644 --- a/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp +++ b/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp @@ -413,7 +413,7 @@ void tst_QImageWriter::supportsOption() QFETCH(QString, fileName); QFETCH(QIntList, options); - static Q_CONSTEXPR QImageIOHandler::ImageOption allOptions[] = { + static constexpr QImageIOHandler::ImageOption allOptions[] = { QImageIOHandler::Size, QImageIOHandler::ClipRect, QImageIOHandler::Description, diff --git a/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp b/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp index af687f8cf1..f96ed563d3 100644 --- a/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp +++ b/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp @@ -902,7 +902,7 @@ void tst_QPainterPath::testArcMoveTo_data() QTest::addColumn<QRectF>("rect"); QTest::addColumn<qreal>("angle"); - static Q_CONSTEXPR QRectF rects[] = { + static constexpr QRectF rects[] = { QRectF(100, 100, 100, 100), QRectF(100, 100, -100, 100), QRectF(100, 100, 100, -100), |