summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-08-02 07:36:00 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-08-05 12:47:52 (GMT)
commita242f6bbd7dee37130c546626b7798daa3c07ae9 (patch)
treea984c3ce3888079e817a8297e73035440fe0feec /util
parent9994524bbc1e70e178c703f4ebeb51575bacc271 (diff)
downloadQt-a242f6bbd7dee37130c546626b7798daa3c07ae9.zip
Qt-a242f6bbd7dee37130c546626b7798daa3c07ae9.tar.gz
Qt-a242f6bbd7dee37130c546626b7798daa3c07ae9.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 (cherry picked from commit 43f37074391b338b250883dfeb4a16844ca759fd)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions