From ee29be91c0b77d12f913f8f0b8d3f0d11a3a40fa Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Sat, 29 Jul 2017 09:04:28 +0200 Subject: Convert features.toolbutton to QT_[REQUIRE_]CONFIG Change-Id: I4227e1868da21bded76a8ec55996c436c8a8d763 Reviewed-by: Oswald Buddenhagen --- src/widgets/accessible/simplewidgets.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/widgets/accessible/simplewidgets.cpp') diff --git a/src/widgets/accessible/simplewidgets.cpp b/src/widgets/accessible/simplewidgets.cpp index fae17988b6..b6fe003452 100644 --- a/src/widgets/accessible/simplewidgets.cpp +++ b/src/widgets/accessible/simplewidgets.cpp @@ -57,7 +57,9 @@ #if QT_CONFIG(radiobutton) #include #endif +#if QT_CONFIG(toolbutton) #include +#endif #include #if QT_CONFIG(label) #include @@ -280,7 +282,7 @@ QStringList QAccessibleButton::keyBindingsForAction(const QString &actionName) c } #endif // QT_CONFIG(abstractbutton) -#ifndef QT_NO_TOOLBUTTON +#if QT_CONFIG(toolbutton) /*! \class QAccessibleToolButton \brief The QAccessibleToolButton class implements the QAccessibleInterface for tool buttons. @@ -400,7 +402,7 @@ void QAccessibleToolButton::doAction(const QString &actionName) } -#endif // QT_NO_TOOLBUTTON +#endif // QT_CONFIG(toolbutton) /*! \class QAccessibleDisplay -- cgit v1.2.3