Skip to content
Permalink
Browse files
Remove some code inside am #ifdef QT < 0x4
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5576 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 9, 2006
1 parent 44b3b60 commit e8d45783e88987d9f0865460dbad7ac21f7540b2
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/composer/qgscomposermap.cpp
@@ -279,13 +279,8 @@ void QgsComposerMap::draw ( QPainter & painter )
painter.save();
painter.translate ( Q3CanvasRectangle::x(), Q3CanvasRectangle::y() );

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

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

0 comments on commit e8d4578

Please sign in to comment.