summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qgl.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-11-06 11:59:35 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-11-06 13:07:40 (GMT)
commitbffa9cbb0e123f3dd1ffd0f084d068fa673cbed7 (patch)
tree1945d72d0fe67785b81417158c656ed73fe3f72b /doc/src/snippets/code/src_opengl_qgl.cpp
parentc9b6ad8169c283d0a8525c2f3113ee5e4a276c33 (diff)
downloadQt-bffa9cbb0e123f3dd1ffd0f084d068fa673cbed7.zip
Qt-bffa9cbb0e123f3dd1ffd0f084d068fa673cbed7.tar.gz
Qt-bffa9cbb0e123f3dd1ffd0f084d068fa673cbed7.tar.bz2
Fix QPainter::setPen(pen with color but no style) on non-extended.
It was working with a QImage but not with a QPixmap, which is obviously a bug. In addition, it broke WebCore::GraphicsContext::setPlatformStrokeColor which does exactly what I put in the unittest: get pen, set color, set pen. This commit fixes the wrong color in the underline of the links in http://www.davidfaure.fr/kde/link_underline_color.html in QtWebkit. Merge-request: 1995 Reviewed-by: Samuel Rødal <sroedal@trolltech.com>
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions