Window.qml: fix alignment, remove unused property

This commit is contained in:
miruka 2020-05-13 19:32:18 -04:00
parent 7192a402b6
commit 064dd08f02

View File

@ -21,14 +21,13 @@ ApplicationWindow {
readonly property alias hovered: windowHover.hovered
readonly property bool hidden:
Qt.application.state === Qt.ApplicationSuspended ||
Qt.application.state === Qt.ApplicationHidden ||
window.visibility === window.Minimized ||
window.visibility === window.Hidden
Qt.application.state === Qt.ApplicationSuspended ||
Qt.application.state === Qt.ApplicationHidden ||
window.visibility === window.Minimized ||
window.visibility === window.Hidden
// NOTE: For JS object variables, the corresponding method to notify
// key/value changes must be called manually, e.g. settingsChanged().
property var mainPaneModelSource: []
property var mainUI: null