Small bug I just noticed
This commit is contained in:
parent
df00c3e3a6
commit
bb692e852e
@ -20,6 +20,7 @@ CropEditor::CropEditor(QPixmap *image, QObject *parent) : QObject(parent) {
|
|||||||
scene->setSceneRect(image->rect());
|
scene->setSceneRect(image->rect());
|
||||||
view->show();
|
view->show();
|
||||||
view->resize(pixmapItem->pixmap().width(), pixmapItem->pixmap().height());
|
view->resize(pixmapItem->pixmap().width(), pixmapItem->pixmap().height());
|
||||||
|
view->move(0, 0);
|
||||||
|
|
||||||
connect(scene, &CropScene::closedWithRect, this, &CropEditor::crop);
|
connect(scene, &CropScene::closedWithRect, this, &CropEditor::crop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user