From bd3088ceb322381ac33bda11554667f1c9a421f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sun, 26 Jul 2020 17:38:14 +0200 Subject: Fix warnings about unused variables and functions in tests Change-Id: Ia758a91384083c13fb4d743f500fef7a6629dfd5 Reviewed-by: Thiago Macieira --- tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tests/auto/widgets/styles') diff --git a/tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp b/tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp index a78ebdb2b9..8f18c8a756 100644 --- a/tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp +++ b/tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp @@ -31,8 +31,6 @@ #include #include -const int N = 1; - Q_DECLARE_METATYPE(QStyleHelper::WidgetSizePolicy); #define CT(E) \ @@ -40,22 +38,13 @@ Q_DECLARE_METATYPE(QStyleHelper::WidgetSizePolicy); typedef QSizePolicy::ControlType ControlType; -CT(DefaultType) CT(ButtonBox) CT(CheckBox) CT(ComboBox) -CT(Frame) -CT(GroupBox) CT(Label) -CT(Line) CT(LineEdit) CT(PushButton) CT(RadioButton) -CT(Slider) -CT(SpinBox) -CT(TabWidget) -CT(ToolButton) - class tst_QMacStyle : public QObject { -- cgit v1.2.3