diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2010-09-22 11:57:03 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2010-09-22 11:57:03 (GMT) |
commit | f1b0195c3ed4f18894273e279ecdcc840dea31bb (patch) | |
tree | 2d45e22c5815ffd724b6e59d9c3bd5912bb932cf /src/gui/painting/qprintengine_win.cpp | |
parent | bed1c8091e5ee5287a2587874840eadcf2b3b5f8 (diff) | |
parent | 8543bee5e9254dfe31d3422bdbbf19d19ff97419 (diff) | |
download | Qt-f1b0195c3ed4f18894273e279ecdcc840dea31bb.zip Qt-f1b0195c3ed4f18894273e279ecdcc840dea31bb.tar.gz Qt-f1b0195c3ed4f18894273e279ecdcc840dea31bb.tar.bz2 |
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Diffstat (limited to 'src/gui/painting/qprintengine_win.cpp')
-rw-r--r-- | src/gui/painting/qprintengine_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qprintengine_win.cpp b/src/gui/painting/qprintengine_win.cpp index dd4de99..afae0a5 100644 --- a/src/gui/painting/qprintengine_win.cpp +++ b/src/gui/painting/qprintengine_win.cpp @@ -851,7 +851,7 @@ void QWin32PrintEnginePrivate::strokePath_dev(const QPainterPath &path, const QC HPEN pen = ExtCreatePen(((penWidth == 0) ? PS_COSMETIC : PS_GEOMETRIC) | PS_SOLID | capStyle | joinStyle, - penWidth, &brush, 0, 0); + (penWidth == 0) ? 1 : penWidth, &brush, 0, 0); HGDIOBJ old_pen = SelectObject(hdc, pen); StrokePath(hdc); |