Merge pull request #6005 from Cacodemon345/vmm-fixes-3
Start manager inside a timer callback
This commit is contained in:
@@ -635,8 +635,10 @@ main(int argc, char *argv[])
|
|||||||
// QApplication::setApplicationDisplayName("86Box VM Manager");
|
// QApplication::setApplicationDisplayName("86Box VM Manager");
|
||||||
// vmm.show();
|
// vmm.show();
|
||||||
// vmm.exec();
|
// vmm.exec();
|
||||||
const auto vmm_main_window = new VMManagerMainWindow();
|
QTimer::singleShot(0, [] {
|
||||||
vmm_main_window->show();
|
const auto vmm_main_window = new VMManagerMainWindow();
|
||||||
|
vmm_main_window->show();
|
||||||
|
});
|
||||||
QApplication::exec();
|
QApplication::exec();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user