qt: Fix fullscreen at start with Direct3D 9 renderer
This commit is contained in:
@@ -470,7 +470,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
video_setblit(qt_blit);
|
video_setblit(qt_blit);
|
||||||
|
|
||||||
if (start_in_fullscreen) {
|
if (start_in_fullscreen) {
|
||||||
connect(ui->stackedWidget, &RendererStack::blitToRenderer, this, [this] () {
|
connect(ui->stackedWidget, &RendererStack::blit, this, [this] () {
|
||||||
if (start_in_fullscreen) {
|
if (start_in_fullscreen) {
|
||||||
QTimer::singleShot(100, ui->actionFullscreen, &QAction::trigger);
|
QTimer::singleShot(100, ui->actionFullscreen, &QAction::trigger);
|
||||||
start_in_fullscreen = 0;
|
start_in_fullscreen = 0;
|
||||||
|
Reference in New Issue
Block a user