summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfontdialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-09 10:29:12 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-11 02:52:20 +0000
commit3906043f05d2ffccede47f845561cca95548ac5a (patch)
tree77804f8a01dc409ce339bfe124c09543a686c5f0 /src/widgets/dialogs/qfontdialog.h
parent93dc459f488f866db79ede1f27ef739a243764e4 (diff)
Convert features.fontdialog to QT_[REQUIRE_]CONFIG
Change-Id: Iebc091ffd023595278fa177b7f205b6e0cd7ec52 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qfontdialog.h')
-rw-r--r--src/widgets/dialogs/qfontdialog.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qfontdialog.h b/src/widgets/dialogs/qfontdialog.h
index da13a5ab99..3fb3997b85 100644
--- a/src/widgets/dialogs/qfontdialog.h
+++ b/src/widgets/dialogs/qfontdialog.h
@@ -44,12 +44,11 @@
#include <QtGui/qwindowdefs.h>
#include <QtGui/qfont.h>
-#ifndef QT_NO_FONTDIALOG
-
#include <QtWidgets/qdialog.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(fontdialog);
+QT_BEGIN_NAMESPACE
class QFontDialogPrivate;
@@ -120,6 +119,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QFontDialog::FontDialogOptions)
QT_END_NAMESPACE
-#endif // QT_NO_FONTDIALOG
-
#endif // QFONTDIALOG_H