From 3906043f05d2ffccede47f845561cca95548ac5a Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Sun, 9 Jul 2017 10:29:12 +0200 Subject: Convert features.fontdialog to QT_[REQUIRE_]CONFIG Change-Id: Iebc091ffd023595278fa177b7f205b6e0cd7ec52 Reviewed-by: Oswald Buddenhagen --- src/widgets/dialogs/qfontdialog.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/widgets/dialogs/qfontdialog.h') 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 #include -#ifndef QT_NO_FONTDIALOG - #include -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 -- cgit v1.2.3