Commit 083bf6d3 authored by Denis Mingulov's avatar Denis Mingulov Committed by Thorbjørn Lindeijer
Browse files

ImageViewer: Don't use ItemClipsToShape to fix rendering issue



Merge-request: 2165
Reviewed-by: default avatarThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
parent 7390798b
...@@ -131,7 +131,6 @@ bool ImageView::openFile(QString fileName) ...@@ -131,7 +131,6 @@ bool ImageView::openFile(QString fileName)
pixmapItem->setTransformationMode(Qt::SmoothTransformation); pixmapItem->setTransformationMode(Qt::SmoothTransformation);
d_ptr->imageItem = pixmapItem; d_ptr->imageItem = pixmapItem;
} }
d_ptr->imageItem->setFlags(QGraphicsItem::ItemClipsToShape);
d_ptr->imageItem->setCacheMode(QGraphicsItem::NoCache); d_ptr->imageItem->setCacheMode(QGraphicsItem::NoCache);
d_ptr->imageItem->setZValue(0); d_ptr->imageItem->setZValue(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment