summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfontdialog.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-02-07 13:00:49 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-02-08 12:19:07 +0000
commit163b8529516ddda24833f635f737863ba98bd688 (patch)
treecf7fbb32c6f240526132e6a69f214e31a2cbaf3e /src/widgets/dialogs/qfontdialog.h
parente768d96e8bc161211b2d4ad377f3fb250f270a9b (diff)
QtWidgets: use Q_ENUM instead of Q_ENUMS
Change-Id: Id5280c1d9feab95e1506569f3d0eb23eeb74935f Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/dialogs/qfontdialog.h')
-rw-r--r--src/widgets/dialogs/qfontdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qfontdialog.h b/src/widgets/dialogs/qfontdialog.h
index a065f8bebf..41768b90f0 100644
--- a/src/widgets/dialogs/qfontdialog.h
+++ b/src/widgets/dialogs/qfontdialog.h
@@ -49,7 +49,6 @@ class Q_WIDGETS_EXPORT QFontDialog : public QDialog
{
Q_OBJECT
Q_DECLARE_PRIVATE(QFontDialog)
- Q_ENUMS(FontDialogOption)
Q_PROPERTY(QFont currentFont READ currentFont WRITE setCurrentFont NOTIFY currentFontChanged)
Q_PROPERTY(FontDialogOptions options READ options WRITE setOptions)
@@ -62,6 +61,7 @@ public:
MonospacedFonts = 0x00000010,
ProportionalFonts = 0x00000020
};
+ Q_ENUM(FontDialogOption)
Q_DECLARE_FLAGS(FontDialogOptions, FontDialogOption)