on xenial help sign in
properly destroy PanelState

in order not to leave artifacts behind (window title, controls, etc)

commita89feea3ba151ba57424d3097e9b9e7557d0c6fc authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 18 Nov 2015, 14:10 (11 years ago) parent045ea26
1 file changed+5−1
qml/Stages/DesktopStage.qml+5−1
qml/Stages/DesktopStage.qml+5−1
@@ -204,7 +204,11 @@ AbstractStage {
204204 value: priv.focusedAppDelegate && !priv.focusedAppDelegate.maximized && priv.foregroundMaximizedAppIdIndex !== -1
205205 }
206206
207− Component.onDestruction: PanelState.buttonsVisible = false;
207+ Component.onDestruction: {
208+ PanelState.title = "";
209+ PanelState.buttonsVisible = false;
210+ PanelState.dropShadow = false;
211+ }
208212
209213 FocusScope {
210214 id: appContainer