summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfontdialog_p.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_p.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_p.h')
-rw-r--r--src/widgets/dialogs/qfontdialog_p.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/dialogs/qfontdialog_p.h b/src/widgets/dialogs/qfontdialog_p.h
index 033f5a2be8..ae923d94ed 100644
--- a/src/widgets/dialogs/qfontdialog_p.h
+++ b/src/widgets/dialogs/qfontdialog_p.h
@@ -59,7 +59,7 @@
#include <qpa/qplatformdialoghelper.h>
#include "qsharedpointer.h"
-#ifndef QT_NO_FONTDIALOG
+QT_REQUIRE_CONFIG(fontdialog);
QT_BEGIN_NAMESPACE
@@ -149,8 +149,6 @@ private:
virtual void helperPrepareShow(QPlatformDialogHelper *) Q_DECL_OVERRIDE;
};
-#endif // QT_NO_FONTDIALOG
-
QT_END_NAMESPACE
#endif // QFONTDIALOG_P_H