summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qfontcombobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qfontcombobox.h')
-rw-r--r--src/widgets/widgets/qfontcombobox.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/widgets/qfontcombobox.h b/src/widgets/widgets/qfontcombobox.h
index 983d5224dd..1e4555ce2d 100644
--- a/src/widgets/widgets/qfontcombobox.h
+++ b/src/widgets/widgets/qfontcombobox.h
@@ -44,11 +44,10 @@
#include <QtWidgets/qcombobox.h>
#include <QtGui/qfontdatabase.h>
-#ifndef QT_NO_FONTCOMBOBOX
+QT_REQUIRE_CONFIG(fontcombobox);
QT_BEGIN_NAMESPACE
-
class QFontComboBoxPrivate;
class Q_WIDGETS_EXPORT QFontComboBox : public QComboBox
@@ -101,5 +100,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QFontComboBox::FontFilters)
QT_END_NAMESPACE
-#endif // QT_NO_FONTCOMBOBOX
#endif