status-desktop/app/qml/Status/Application/Workflows/CloseApplicationHandler.qml

19 lines
276 B
QML
Raw Normal View History

import QtQml
QtObject {
id: root
required property bool quitOnClose
signal hideApplication()
function canApplicationClose() {
if(root.quitOnClose) {
root.hideApplication()
return false
}
return true
}
}