summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-03-15 14:36:33 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-03-15 14:39:48 (GMT)
commit81ce61c9459c85f53486e668b532fe43a4d40ff0 (patch)
tree5151d15d88ad0300b0e6e08336c390746e988105 /src/gui/text/qfont_p.h
parent6d4ef0ff8fd30e5f50f6f770d651a51584e5cfdc (diff)
downloadQt-81ce61c9459c85f53486e668b532fe43a4d40ff0.zip
Qt-81ce61c9459c85f53486e668b532fe43a4d40ff0.tar.gz
Qt-81ce61c9459c85f53486e668b532fe43a4d40ff0.tar.bz2
Fix some warnings in font code
Comma at the end of enumerator list and wrong initializer list on Mac. Reviewed-by: Jiang Jiang
Diffstat (limited to 'src/gui/text/qfont_p.h')
-rw-r--r--src/gui/text/qfont_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfont_p.h b/src/gui/text/qfont_p.h
index b23f96e..c1a5048 100644
--- a/src/gui/text/qfont_p.h
+++ b/src/gui/text/qfont_p.h
@@ -97,8 +97,8 @@ struct QFontDef
uint stretch : 12; // 0-400
uint ignorePitch : 1;
- uint fixedPitchComputed : 1; // for Mac OS X only
uint hintingPreference : 2;
+ uint fixedPitchComputed : 1; // for Mac OS X only
int reserved : 14; // for future extensions
bool exactMatch(const QFontDef &other) const;