From ba82958af97b831875ea568f87ec49d8fad32297 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 3 Jan 2013 10:23:56 +0100 Subject: Widgets: Remove declaration of built-in and automatic metatypes. These types are either built-in or 'automatically declared' and so don't need to be explicitly declared as metatypes. Change-Id: Ibe8e2ec867afb4051a3c7eef806d9cd86945928b Reviewed-by: David Faure --- .../graphicsview/qgraphicsgridlayout/tst_qgraphicsgridlayout.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/widgets/graphicsview/qgraphicsgridlayout/tst_qgraphicsgridlayout.cpp') diff --git a/tests/auto/widgets/graphicsview/qgraphicsgridlayout/tst_qgraphicsgridlayout.cpp b/tests/auto/widgets/graphicsview/qgraphicsgridlayout/tst_qgraphicsgridlayout.cpp index 5321e5b008..dd62715b05 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsgridlayout/tst_qgraphicsgridlayout.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsgridlayout/tst_qgraphicsgridlayout.cpp @@ -309,7 +309,6 @@ typedef QList ItemList; Q_DECLARE_METATYPE(ItemList); typedef QList SizeList; -Q_DECLARE_METATYPE(SizeList); // This will be called before the first test function is executed. @@ -2223,7 +2222,6 @@ void tst_QGraphicsGridLayout::defaultStretchFactors() } typedef QList RectList; -Q_DECLARE_METATYPE(RectList); void tst_QGraphicsGridLayout::alignment2_data() { -- cgit v1.2.3