qt: Fix fullscreen at start with Direct3D 9 renderer

This commit is contained in:
Cacodemon345
2022-07-30 00:38:51 +06:00
committed by GitHub
parent 2869f114c2
commit 2ad0c27f71

View File

@@ -470,7 +470,7 @@ MainWindow::MainWindow(QWidget *parent) :
video_setblit(qt_blit);
if (start_in_fullscreen) {
connect(ui->stackedWidget, &RendererStack::blitToRenderer, this, [this] () {
connect(ui->stackedWidget, &RendererStack::blit, this, [this] () {
if (start_in_fullscreen) {
QTimer::singleShot(100, ui->actionFullscreen, &QAction::trigger);
start_in_fullscreen = 0;