mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix hiding the main UI window while streaming on Qt 6.7
This commit is contained in:
@@ -38,7 +38,7 @@ Item {
|
|||||||
hintText.visible = false
|
hintText.visible = false
|
||||||
|
|
||||||
// Hide the window now that streaming has begun
|
// Hide the window now that streaming has begun
|
||||||
window.visible = false
|
window.hide()
|
||||||
}
|
}
|
||||||
|
|
||||||
function displayLaunchError(text)
|
function displayLaunchError(text)
|
||||||
@@ -67,7 +67,7 @@ Item {
|
|||||||
stackView.replace(stackView.currentItem, component.createObject(stackView, {"appName": appName}), StackView.Immediate)
|
stackView.replace(stackView.currentItem, component.createObject(stackView, {"appName": appName}), StackView.Immediate)
|
||||||
|
|
||||||
// Show the Qt window again to show quit segue
|
// Show the Qt window again to show quit segue
|
||||||
window.visible = true
|
window.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
function sessionFinished(portTestResult)
|
function sessionFinished(portTestResult)
|
||||||
@@ -94,7 +94,7 @@ Item {
|
|||||||
stackView.pop()
|
stackView.pop()
|
||||||
|
|
||||||
// Show the Qt window again after streaming
|
// Show the Qt window again after streaming
|
||||||
window.visible = true
|
window.show()
|
||||||
|
|
||||||
// Display any launch errors. We do this after
|
// Display any launch errors. We do this after
|
||||||
// the Qt UI is visible again to prevent losing
|
// the Qt UI is visible again to prevent losing
|
||||||
|
|||||||
Reference in New Issue
Block a user