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/widgets/qmdiarea/tst_qmdiarea.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp') diff --git a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp index ba5c461223..e03d2de530 100644 --- a/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp +++ b/tests/auto/widgets/widgets/qmdiarea/tst_qmdiarea.cpp @@ -67,8 +67,6 @@ static const Qt::WindowFlags DefaultWindowFlags | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint; Q_DECLARE_METATYPE(QMdiArea::WindowOrder) -Q_DECLARE_METATYPE(QMdiSubWindow *) -Q_DECLARE_METATYPE(QList) Q_DECLARE_METATYPE(QTabWidget::TabPosition) static bool tabBetweenSubWindowsIn(QMdiArea *mdiArea, int tabCount = -1, bool reverse = false) -- cgit v1.2.3