Do not process events in main window show on Mac.
This commit is contained in:
@@ -1051,7 +1051,9 @@ MainWindow::showEvent(QShowEvent *event)
|
|||||||
}
|
}
|
||||||
if (window_remember && vid_resize == 1) {
|
if (window_remember && vid_resize == 1) {
|
||||||
ui->stackedWidget->setFixedSize(window_w, window_h);
|
ui->stackedWidget->setFixedSize(window_w, window_h);
|
||||||
|
#ifndef Q_OS_MACOS
|
||||||
QApplication::processEvents();
|
QApplication::processEvents();
|
||||||
|
#endif
|
||||||
this->adjustSize();
|
this->adjustSize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user