From 94e2d58805366697ddb373b901e7e6b22befa8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 24 Oct 2021 12:30:31 +0200 Subject: [PATCH] Updated debug stuff --- src/map/IMG/rastertile.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/map/IMG/rastertile.cpp b/src/map/IMG/rastertile.cpp index 6af76606..23a9a0f5 100644 --- a/src/map/IMG/rastertile.cpp +++ b/src/map/IMG/rastertile.cpp @@ -162,10 +162,12 @@ void RasterTile::render() drawPolygons(&painter); drawLines(&painter); drawTextItems(&painter, textItems); - //painter.setPen(Qt::red); - //painter.drawRect(QRect(_xy, _img.size())); qDeleteAll(textItems); + + //painter.setPen(Qt::red); + //painter.setRenderHint(QPainter::Antialiasing, false); + //painter.drawRect(QRect(_xy, _pixmap.size())); } void RasterTile::ll2xy(QList &polys)