From 6fee35ca7741e678022e500f8b91af88118dae81 Mon Sep 17 00:00:00 2001 From: Simon Buchholz Date: Sat, 31 Dec 2022 13:17:15 +0100 Subject: [PATCH] Reverted fix for issue #118 due to unwanted side effects --- View.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/View.cpp b/View.cpp index f347ea3..d5d9b8b 100644 --- a/View.cpp +++ b/View.cpp @@ -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);