summaryrefslogtreecommitdiffstats
path: root/src/widgets/accessible/simplewidgets_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/accessible/simplewidgets_p.h')
-rw-r--r--src/widgets/accessible/simplewidgets_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/accessible/simplewidgets_p.h b/src/widgets/accessible/simplewidgets_p.h
index 5055f2c534..c25aa31425 100644
--- a/src/widgets/accessible/simplewidgets_p.h
+++ b/src/widgets/accessible/simplewidgets_p.h
@@ -86,7 +86,7 @@ protected:
};
#endif
-#ifndef QT_NO_TOOLBUTTON
+#if QT_CONFIG(toolbutton)
class QAccessibleToolButton : public QAccessibleButton
{
public:
@@ -107,7 +107,7 @@ protected:
bool isSplitButton() const;
};
-#endif // QT_NO_TOOLBUTTON
+#endif // QT_CONFIG(toolbutton)
class QAccessibleDisplay : public QAccessibleWidget, public QAccessibleImageInterface
{