diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-08-27 12:04:57 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-08-27 12:13:34 (GMT) |
commit | a17f89c43bc5e580e9176e825f79005f42a4ad34 (patch) | |
tree | 1d7363ce024a7fbb6e8ce05654e5cf89f3b9536f /src/svg | |
parent | 41631d2803c72565857d68817b4be55a9701e725 (diff) | |
download | Qt-a17f89c43bc5e580e9176e825f79005f42a4ad34.zip Qt-a17f89c43bc5e580e9176e825f79005f42a4ad34.tar.gz Qt-a17f89c43bc5e580e9176e825f79005f42a4ad34.tar.bz2 |
Fixed compilation on AIX.
Reviewed-by: Trond
Diffstat (limited to 'src/svg')
-rw-r--r-- | src/svg/qsvgtinydocument.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/qsvgtinydocument.cpp b/src/svg/qsvgtinydocument.cpp index d7cbcb2..e6b0e8e 100644 --- a/src/svg/qsvgtinydocument.cpp +++ b/src/svg/qsvgtinydocument.cpp @@ -240,7 +240,7 @@ void QSvgTinyDocument::draw(QPainter *p, const QRectF &bounds) //sets default style on the painter //### not the most optimal way mapSourceToTarget(p, bounds); - QPen pen(QBrush(Qt::NoBrush), 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin); + QPen pen(Qt::NoBrush, 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin); pen.setMiterLimit(4); p->setPen(pen); p->setBrush(Qt::black); @@ -283,7 +283,7 @@ void QSvgTinyDocument::draw(QPainter *p, const QString &id, QTransform originalTransform = p->worldTransform(); //XXX set default style on the painter - QPen pen(QBrush(Qt::NoBrush), 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin); + QPen pen(Qt::NoBrush, 1, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin); pen.setMiterLimit(4); p->setPen(pen); p->setBrush(Qt::black); |