diff options
author | Jason Barron <jbarron@trolltech.com> | 2010-03-18 15:10:51 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2010-03-18 16:22:48 (GMT) |
commit | 47b1a3853d76a5abc5f32b02ccd1d83df3aa601a (patch) | |
tree | d668e345a6911be02d26cd3aec64466561ecd664 /src/xmlpatterns | |
parent | 79ef51a96bbe8b97af140320febd14b3d8ec217c (diff) | |
download | Qt-47b1a3853d76a5abc5f32b02ccd1d83df3aa601a.zip Qt-47b1a3853d76a5abc5f32b02ccd1d83df3aa601a.tar.gz Qt-47b1a3853d76a5abc5f32b02ccd1d83df3aa601a.tar.bz2 |
Initialize the graphics system before creating the style.
Previously if the style was creating any pixmaps they were going to the
createDefaultPixmapData() function which creates a default platform
pixmap without considering the graphics system. If these pixmaps are
used they may end up going through a suboptimal code path because they
are not the same type of pixmap that is expected by the graphics
system. The fix here is to intialize the graphics system before the
style is created.
Reviewed-by: Trond
Diffstat (limited to 'src/xmlpatterns')
0 files changed, 0 insertions, 0 deletions