Skip to content

Commit 6fee35c

Browse files
committed
Reverted fix for issue #118 due to unwanted side effects
1 parent cb86f8e commit 6fee35c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

View.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ void View::Init()
190190
{
191191
setFrameStyle(QFrame::Plain | QFrame::NoFrame);
192192

193-
mGraphicsView.setCacheMode(QGraphicsView::CacheBackground);
193+
//mGraphicsView.setCacheMode(QGraphicsView::CacheBackground);
194+
#warning assess if SmoothPixmapTransform is neccessary / impacts performance
194195
mGraphicsView.setRenderHints(QPainter::SmoothPixmapTransform | QPainter::Antialiasing);
195196
mGraphicsView.setDragMode(QGraphicsView::RubberBandDrag);
196197
mGraphicsView.setOptimizationFlags(QGraphicsView::DontSavePainterState);

0 commit comments

Comments
 (0)