summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfontdialog.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-03-10 13:20:12 +0100
committerStephan Binner <stephan.binner@basyskom.com>2017-03-22 14:35:46 +0000
commitb1a7a7b250e3575579ad43979c5bc27283f3d5f2 (patch)
tree27f7572604d5d7cb918663c504a39775fa6433aa /src/widgets/dialogs/qfontdialog.h
parent901ed36f3649fc77e5dc4078c0f0e485732feb7a (diff)
Add feature.dialog
Change-Id: I160d0f270d7f41671459358b9c180d71dd7786d6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qfontdialog.h')
-rw-r--r--src/widgets/dialogs/qfontdialog.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qfontdialog.h b/src/widgets/dialogs/qfontdialog.h
index 276f8f5e83..da13a5ab99 100644
--- a/src/widgets/dialogs/qfontdialog.h
+++ b/src/widgets/dialogs/qfontdialog.h
@@ -42,13 +42,14 @@
#include <QtWidgets/qtwidgetsglobal.h>
#include <QtGui/qwindowdefs.h>
-#include <QtWidgets/qdialog.h>
#include <QtGui/qfont.h>
-QT_BEGIN_NAMESPACE
+#ifndef QT_NO_FONTDIALOG
+#include <QtWidgets/qdialog.h>
+
+QT_BEGIN_NAMESPACE
-#ifndef QT_NO_FONTDIALOG
class QFontDialogPrivate;
@@ -117,8 +118,8 @@ private:
Q_DECLARE_OPERATORS_FOR_FLAGS(QFontDialog::FontDialogOptions)
-#endif // QT_NO_FONTDIALOG
-
QT_END_NAMESPACE
+#endif // QT_NO_FONTDIALOG
+
#endif // QFONTDIALOG_H