Skip to content

Commit e8d4578

Browse files
author
g_j_m
committed
Remove some code inside am #ifdef QT < 0x4
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5576 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 44b3b60 commit e8d4578

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/composer/qgscomposermap.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,8 @@ void QgsComposerMap::draw ( QPainter & painter )
279279
painter.save();
280280
painter.translate ( Q3CanvasRectangle::x(), Q3CanvasRectangle::y() );
281281

282-
#if QT_VERSION < 0x040000
283-
// Note: CoordDevice doesn't work well
284-
painter.setClipRect ( 0, 0, Q3CanvasRectangle::width(), Q3CanvasRectangle::height(), QPainter::CoordPainter );
285-
#else
286282
// TODO: Qt4 appears to force QPainter::CoordDevice - need to check if this is actually valid.
287283
painter.setClipRect ( 0, 0, Q3CanvasRectangle::width(), Q3CanvasRectangle::height() );
288-
#endif
289284

290285
draw( &painter, &mExtent, &transform);
291286
painter.restore();

0 commit comments

Comments
 (0)