qt: force the screen output widget to be resizable

This commit is contained in:
Cacodemon345
2022-10-30 23:29:23 +06:00
parent 99b72cd76a
commit db626ea872

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); });
}