From ebe270bec5820b956f4c511fd31097a0c1d1a7c3 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 13 Apr 2024 00:05:49 -0500 Subject: [PATCH] Fix hiding the main UI window while streaming on Qt 6.7 --- app/gui/StreamSegue.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/gui/StreamSegue.qml b/app/gui/StreamSegue.qml index 16177926..9025fd88 100644 --- a/app/gui/StreamSegue.qml +++ b/app/gui/StreamSegue.qml @@ -38,7 +38,7 @@ Item { hintText.visible = false // Hide the window now that streaming has begun - window.visible = false + window.hide() } function displayLaunchError(text) @@ -67,7 +67,7 @@ Item { stackView.replace(stackView.currentItem, component.createObject(stackView, {"appName": appName}), StackView.Immediate) // Show the Qt window again to show quit segue - window.visible = true + window.show() } function sessionFinished(portTestResult) @@ -94,7 +94,7 @@ Item { stackView.pop() // Show the Qt window again after streaming - window.visible = true + window.show() // Display any launch errors. We do this after // the Qt UI is visible again to prevent losing