Fix font substitutions.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Wed, 11 Apr 2012 15:30:17 +0000 (17:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 19 Apr 2012 09:07:25 +0000 (11:07 +0200)
commita633d80efe1c4f3a5c5e05bb8b2673172e05b9b4
tree25c7b88e1056c75bc9c05a7e2e7a17f7ac87836f
parentc0d8d978027f495fed87f1f5cc07083a26025ee1
Fix font substitutions.

- Remove remains of platform-specific substitution tables in QtGui.
- Deprecate QFont::removeSubstitution() in favour of
  QFont::removeSubstitutions() (as suggested in the comments).
- Clean up substitution code, remove postfix operator++ on
  iterators and repeated invocation of .end().

Change-Id: I2e82e4ce2dd357d49e4d2b7fd6f95785acfcda95
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/gui/text/qfont.cpp
src/gui/text/qfont.h