summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui')
-rw-r--r--tests/auto/gui/painting/qpainter/tst_qpainter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp
index 123f049e34..27c0f6e66a 100644
--- a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp
+++ b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp
@@ -79,6 +79,7 @@
Q_DECLARE_METATYPE(QGradientStops)
Q_DECLARE_METATYPE(QPainterPath)
+Q_DECLARE_METATYPE(QImage::Format)
class tst_QPainter : public QObject
{
@@ -1506,8 +1507,6 @@ void tst_QPainter::drawRoundRect()
}
}
-Q_DECLARE_METATYPE(QImage::Format)
-
void tst_QPainter::qimageFormats_data()
{
QTest::addColumn<QImage::Format>("format");