Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment