resize-window: tweak workaround

This commit is contained in:
Vitor Kiguchi 2021-04-24 23:44:06 -03:00
parent 1816b3bd69
commit 640a0702b4

View File

@ -1724,7 +1724,8 @@ void GMainWindow::ChangeScreenSize() {
// not resize properly, when in 1x. // not resize properly, when in 1x.
// TODO (vitor-k): repro and report to Qt and/or find a // TODO (vitor-k): repro and report to Qt and/or find a
// better workaround // better workaround
QTimer::singleShot(100, this, &GMainWindow::ResizeScreen); auto_resized = true;
QTimer::singleShot(50, this, &GMainWindow::ResizeScreen);
} }
} }