From 324168340b5f2890caa2ca1d36b7f58df4ec9c82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20T=C5=AFma?= Date: Wed, 3 Apr 2024 02:18:00 +0200 Subject: [PATCH] Do not blur the icons when resizing them --- src/GUI/waypointitem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GUI/waypointitem.cpp b/src/GUI/waypointitem.cpp index b9f0b3d7..aa2183a7 100644 --- a/src/GUI/waypointitem.cpp +++ b/src/GUI/waypointitem.cpp @@ -170,8 +170,7 @@ void WaypointItem::paint(QPainter *painter, if (_font.bold()) painter->drawPixmap(-_icon->width() * 0.625, icon.isNull() ? -_icon->height() * 1.25 : -_icon->height() * 0.625, - _icon->scaled(_icon->width() * 1.25, _icon->height() * 1.25, - Qt::IgnoreAspectRatio, Qt::SmoothTransformation)); + _icon->scaled(_icon->width() * 1.25, _icon->height() * 1.25)); else painter->drawPixmap(-_icon->width()/2.0, icon.isNull() ? -_icon->height() : -_icon->height()/2, *_icon); -- 2.11.4.GIT