Skip to content

Commit

Permalink
Reverted fix for issue #118 due to unwanted side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBuxx committed Dec 31, 2022
1 parent cb86f8e commit 6fee35c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ void View::Init()
{
setFrameStyle(QFrame::Plain | QFrame::NoFrame);

mGraphicsView.setCacheMode(QGraphicsView::CacheBackground);
//mGraphicsView.setCacheMode(QGraphicsView::CacheBackground);
#warning assess if SmoothPixmapTransform is neccessary / impacts performance
mGraphicsView.setRenderHints(QPainter::SmoothPixmapTransform | QPainter::Antialiasing);
mGraphicsView.setDragMode(QGraphicsView::RubberBandDrag);
mGraphicsView.setOptimizationFlags(QGraphicsView::DontSavePainterState);
Expand Down

0 comments on commit 6fee35c

Please sign in to comment.