on xenial help sign in
silence warnings
5f3ec2eLukáš Tinkl
qml/Stages/DecoratedWindow.qml+1−1
@@ -68,7 +68,7 @@ FocusScope {
68 anchors { left: parent.left; top: parent.top; right: parent.right }
68 anchors { left: parent.left; top: parent.top; right: parent.right }
69 height: units.gu(3)
69 height: units.gu(3)
70 width: root.width
70 width: root.width
71− title: window.title !== "" ? window.title : model.name
71+ title: window.title !== "" ? window.title : ""
72 onClose: root.close();
72 onClose: root.close();
73 onMaximize: root.maximize();
73 onMaximize: root.maximize();
74 onMinimize: root.minimize();
74 onMinimize: root.minimize();
qml/Stages/DesktopStage.qml+1−1
@@ -215,7 +215,7 @@ Rectangle {
215 Binding {
215 Binding {
216 target: PanelState
216 target: PanelState
217 property: "title"
217 property: "title"
218− value: priv.focusedAppDelegate.title
218+ value: priv.focusedAppDelegate !== null && priv.focusedAppDelegate.title
219 when: priv.focusedAppDelegate && priv.focusedAppDelegate.maximized
219 when: priv.focusedAppDelegate && priv.focusedAppDelegate.maximized
220 }
220 }
221
221