diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 783880f..619634e 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -678,6 +678,7 @@ void MainWindow::previewReceived(QSharedPointer preview, unsigned previewLayout->setMargin(0); previewLayout->insertStretch(0, 1); previewLayout->insertStretch(-1, 1); + previewLayout->setAlignment(Qt::AlignCenter); QWidget *previewWidget = new QWidget(); previewWidget->setLayout(previewLayout);