From c2e50e5213055603c84add1c239914712449f57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 6 Dec 2020 00:11:47 +0100 Subject: [PATCH] Use a smooth digital zoom --- src/GUI/mapview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/mapview.cpp b/src/GUI/mapview.cpp index 5a9c5d27..c20961d0 100644 --- a/src/GUI/mapview.cpp +++ b/src/GUI/mapview.cpp @@ -54,7 +54,7 @@ MapView::MapView(Map *map, POI *poi, QWidget *parent) setViewportUpdateMode(QGraphicsView::FullViewportUpdate); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - setRenderHint(QPainter::Antialiasing, true); + setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform); setResizeAnchor(QGraphicsView::AnchorViewCenter); setAcceptDrops(false);