diff --git a/ScreenPlay/main.qml b/ScreenPlay/main.qml index d6b99171..596e7b68 100644 --- a/ScreenPlay/main.qml +++ b/ScreenPlay/main.qml @@ -97,7 +97,7 @@ ApplicationWindow { App.showDockIcon(false) return } - exitDialog.open() + baseLoader.item.openExitDialog() } Loader { diff --git a/ScreenPlay/qml/MainApp.qml b/ScreenPlay/qml/MainApp.qml index 0fc3cde6..4afb1ec5 100644 --- a/ScreenPlay/qml/MainApp.qml +++ b/ScreenPlay/qml/MainApp.qml @@ -15,6 +15,11 @@ Item { "qrc:/qml/ScreenPlayApp/qml/Installed/InstalledView.qml") startTimer.start() } + + function openExitDialog(){ + exitDialog.open() + } + Timer { id: startTimer interval: 10