Ohhhh that's why Retina did not work properly...

This commit is contained in:
ArsenArsen 2017-05-13 13:10:49 +02:00
parent c2f35e9189
commit 135300b89a
1 changed files with 1 additions and 1 deletions

View File

@ -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());