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 --- tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp | 1 - tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'tests/auto/widgets/dialogs') diff --git a/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp b/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp index 73044d083e..09fdd31495 100644 --- a/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp +++ b/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp @@ -50,7 +50,6 @@ #include #include -Q_DECLARE_METATYPE(QSize) QT_FORWARD_DECLARE_CLASS(QDialog) diff --git a/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp b/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp index 0f28057998..d40b2b84af 100644 --- a/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp +++ b/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp @@ -1660,7 +1660,6 @@ Q_DECLARE_METATYPE(Operation *) Q_DECLARE_METATYPE(SetPage *) Q_DECLARE_METATYPE(SetStyle *) Q_DECLARE_METATYPE(SetOption *) -Q_DECLARE_METATYPE(QList) class TestGroup { -- cgit v1.2.3