Fix warning when quitting app after streaming is enabled

This commit is contained in:
Cameron Gutman 2023-08-29 18:19:43 -05:00
parent 8cf6a8bc98
commit 12535d8142

View file

@ -39,8 +39,10 @@ Item {
// Connect the quit completion signal
ComputerManager.quitAppCompleted.connect(quitAppCompleted)
// Start the quit operation
quitRunningAppFn()
// Start the quit operation if requested
if (quitRunningAppFn) {
quitRunningAppFn()
}
}
StackView.onDeactivating: {