From 135300b89a96b7a0d711f4dacd6bc4bf6aac2487 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Sat, 13 May 2017 13:10:49 +0200 Subject: [PATCH] Ohhhh that's why Retina did not work properly... --- cropeditor/cropeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cropeditor/cropeditor.cpp b/cropeditor/cropeditor.cpp index cedd54b..5f20816 100644 --- a/cropeditor/cropeditor.cpp +++ b/cropeditor/cropeditor.cpp @@ -13,7 +13,7 @@ CropEditor::CropEditor(QPixmap *image, QObject *parent) : QObject(parent) { view = new CropView(scene); QPixmap *scaled = new QPixmap(); image->scaled(view->width(), view->height()).swap(*scaled); - pixmapItem = new QGraphicsPixmapItem(*image); + pixmapItem = new QGraphicsPixmapItem(*scaled); pixmapItem->setZValue(-1); scene->addItem(pixmapItem); scene->setSceneRect(image->rect());