diff options
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 8d7af8a..3ee8cc2 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -618,9 +618,6 @@ void MainWindow::showSelectedSurface() QImage img = var.value<QImage>(); viewer->setImage(img); - QRect screenRect = QApplication::desktop()->availableGeometry(); - viewer->resize(qMin(int(0.75 * screenRect.width()), img.width()) + 40, - qMin(int(0.75 * screenRect.height()), img.height()) + 40); viewer->show(); viewer->raise(); viewer->activateWindow(); |