summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-02-07 13:00:27 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-02-08 12:18:52 +0000
commite768d96e8bc161211b2d4ad377f3fb250f270a9b (patch)
treeffff4da772e6edee99b405660363b8192b20e49d /src/gui/text/qfont.h
parentba7cedb058455942dda337223a170b4f9566f0ef (diff)
QtGui: use Q_ENUM instead of Q_ENUMS
Change-Id: I92ac2ea218e9134aa36ecb179b8ae790a2dba56a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/text/qfont.h')
-rw-r--r--src/gui/text/qfont.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h
index 165c4a85b9..a1baa6fceb 100644
--- a/src/gui/text/qfont.h
+++ b/src/gui/text/qfont.h
@@ -49,7 +49,6 @@ class QVariant;
class Q_GUI_EXPORT QFont
{
Q_GADGET
- Q_ENUMS(StyleStrategy)
public:
enum StyleHint {
Helvetica, SansSerif = Helvetica,
@@ -78,6 +77,7 @@ public:
NoSubpixelAntialias = 0x0800,
NoFontMerging = 0x8000
};
+ Q_ENUM(StyleStrategy)
enum HintingPreference {
PreferDefaultHinting = 0,