Merge pull request #2773 from Cacodemon345/qt-fullscreen-oversize-fix

qt: force the screen output widget to be resizable
This commit is contained in:
Miran Grča
2022-10-30 18:33:00 +01:00
committed by GitHub

View File

@@ -1544,6 +1544,7 @@ void MainWindow::on_actionFullscreen_triggered() {
ui->menubar->hide();
ui->statusbar->hide();
ui->toolBar->hide();
ui->stackedWidget->setFixedSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
showFullScreen();
if (vid_api == 5) QTimer::singleShot(0, this, [this] () { ui->stackedWidget->switchRenderer(RendererStack::Renderer::Direct3D9); });
}