Added optimization flag for map view
authorSami Rämö <sami.ramo@ixonos.com>
Mon, 14 Jun 2010 07:43:33 +0000 (10:43 +0300)
committerSami Rämö <sami.ramo@ixonos.com>
Mon, 14 Jun 2010 07:43:33 +0000 (10:43 +0300)
src/map/mapview.cpp

index 72cd88c..abef941 100644 (file)
@@ -39,6 +39,8 @@ MapView::MapView(QWidget *parent)
     m_zoomAnimation = new QPropertyAnimation(this, "viewScale", this);
     connect(m_zoomAnimation, SIGNAL(finished()),
         this, SIGNAL(viewZoomFinished()));
+
+    setOptimizationFlag(QGraphicsView::DontAdjustForAntialiasing);
 }
 
 void MapView::centerToSceneCoordinates(QPoint sceneCoordinate)