mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 10:29:59 +03:00
GH-1642 fix instance launch from console
This commit is contained in:
parent
877d1020db
commit
74b4343c43
6 changed files with 17 additions and 6 deletions
|
|
@ -157,6 +157,11 @@ void InstanceWindow::closeEvent(QCloseEvent *event)
|
|||
{
|
||||
emit isClosing();
|
||||
event->accept();
|
||||
if(m_shouldQuit)
|
||||
{
|
||||
// this needs to be delayed so we don't do horrible things
|
||||
QMetaObject::invokeMethod(MMC, "quit", Qt::QueuedConnection);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue