mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 06:34:27 +02:00
Merge pull request #3074 from Trial97/lock
Close the window using the invokeMethod to not block
This commit is contained in:
commit
1d9508c268
@ -1507,7 +1507,7 @@ void Application::controllerSucceeded()
|
||||
// on success, do...
|
||||
if (controller->instance()->settings()->get("AutoCloseConsole").toBool()) {
|
||||
if (extras.window) {
|
||||
extras.window->close();
|
||||
QMetaObject::invokeMethod(extras.window, &QWidget::close, Qt::QueuedConnection);
|
||||
}
|
||||
}
|
||||
extras.controller.reset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user