mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
CR Feedback changes
This commit is contained in:
parent
2f2b7b0306
commit
8089653784
1 changed files with 4 additions and 8 deletions
|
@ -370,10 +370,6 @@ var INITIAL_WINDOW_FLAGS = 0x00000001 | // Qt::Window
|
|||
var initialLaunchWindow = false;
|
||||
function displayInitialLaunchWindow() {
|
||||
if (initialLaunchWindow) {
|
||||
initialLaunchWindow.close();
|
||||
// This really shouldn't be necessary.
|
||||
// This signal really should automatically be called by the signal handler set up below.
|
||||
// But fixing that requires an engine change, so this workaround will do.
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -407,10 +403,6 @@ var SECOND_WINDOW_FLAGS = 0x00000001 | // Qt::Window
|
|||
var secondLaunchWindow = false;
|
||||
function displaySecondLaunchWindow() {
|
||||
if (secondLaunchWindow) {
|
||||
secondLaunchWindow.close();
|
||||
// This really shouldn't be necessary.
|
||||
// This signal really should automatically be called by the signal handler set up below.
|
||||
// But fixing that requires an engine change, so this workaround will do.
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -847,6 +839,10 @@ function shutdown() {
|
|||
closeInitialLaunchWindow();
|
||||
}
|
||||
|
||||
if (secondLaunchWindow) {
|
||||
closesecondLaunchWindow();
|
||||
}
|
||||
|
||||
maybeDeleteInputDeviceMutedOverlay();
|
||||
maybeDeleteOutputDeviceMutedOverlay();
|
||||
|
||||
|
|
Loading…
Reference in a new issue