diff --git a/app/gui/AppView.qml b/app/gui/AppView.qml index d27dcd73..56c4efd2 100644 --- a/app/gui/AppView.qml +++ b/app/gui/AppView.qml @@ -350,7 +350,7 @@ CenteredGridView { function quitApp() { var component = Qt.createComponent("QuitSegue.qml") - var params = {"appName": appName, "quitRunningAppFn": () => appModel.quitRunningApp()} + var params = {"appName": appName, "quitRunningAppFn": function() { appModel.quitRunningApp() }} if (segueToStream) { // Store the session and app name if we're going to stream after // successfully quitting the old app. diff --git a/app/gui/CliStartStreamSegue.qml b/app/gui/CliStartStreamSegue.qml index aba2abec..14b4b7d2 100644 --- a/app/gui/CliStartStreamSegue.qml +++ b/app/gui/CliStartStreamSegue.qml @@ -85,7 +85,7 @@ Item { function quitApp() { var component = Qt.createComponent("QuitSegue.qml") - var params = {"appName": appName, "quitRunningAppFn": () => launcher.quitRunningApp()} + var params = {"appName": appName, "quitRunningAppFn": function() { launcher.quitRunningApp() }} stackView.push(component.createObject(stackView, params)) }