diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-08-02 07:36:00 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-08-02 07:44:10 (GMT) |
commit | 43f37074391b338b250883dfeb4a16844ca759fd (patch) | |
tree | 0aa0d386a888888f5fa4eff31f5d43bb1a0c11cd /util | |
parent | 759fe35812975104f3b73934d7d179159ce9effa (diff) | |
download | Qt-43f37074391b338b250883dfeb4a16844ca759fd.zip Qt-43f37074391b338b250883dfeb4a16844ca759fd.tar.gz Qt-43f37074391b338b250883dfeb4a16844ca759fd.tar.bz2 |
Fix crash when setting font decorations on text drawn with QStaticText
Qt has a run-time assert for implementing drawPolygon() in any subclass
of QPaintEngine, which will be hit if set font decorations on the font
used by QStaticText. Since we don't care about line decorations or any
other shapes drawn in the QTextLayout, we simply leave the
implementation empty.
Reviewed-by: Gunnar
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions