diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-26 17:38:14 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-26 18:06:46 +0200 |
commit | bd3088ceb322381ac33bda11554667f1c9a421f8 (patch) | |
tree | e6b8eed1b083d2ff62c79a0b7a1d77217f3fff95 /tests/auto/widgets/styles | |
parent | f418a96f9b7f003738894d0c19e176b2abc457df (diff) |
Fix warnings about unused variables and functions in tests
Change-Id: Ia758a91384083c13fb4d743f500fef7a6629dfd5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/widgets/styles')
-rw-r--r-- | tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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 <QtWidgets> #include <private/qstylehelper_p.h> -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 { |