fix crash (showing window while it is destroyed) (fix #LINQT-2077, #LINQT-2087, #LINQT-2110)
This commit is contained in:
parent
0c87a8d94e
commit
c70426f770
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ ApplicationWindow {
|
||||||
width: Math.min(Utils.getSizeWithScreenRatio(1512), Screen.desktopAvailableWidth)
|
width: Math.min(Utils.getSizeWithScreenRatio(1512), Screen.desktopAvailableWidth)
|
||||||
height: Math.min(Utils.getSizeWithScreenRatio(982), Screen.desktopAvailableHeight)
|
height: Math.min(Utils.getSizeWithScreenRatio(982), Screen.desktopAvailableHeight)
|
||||||
|
|
||||||
onActiveChanged: UtilsCpp.setLastActiveWindow(this)
|
onActiveChanged: if (active) UtilsCpp.setLastActiveWindow(this)
|
||||||
|
|
||||||
property bool isFullscreen: visibility == Window.FullScreen
|
property bool isFullscreen: visibility == Window.FullScreen
|
||||||
onIsFullscreenChanged: DesktopToolsCpp.screenSaverStatus = !isFullscreen
|
onIsFullscreenChanged: DesktopToolsCpp.screenSaverStatus = !isFullscreen
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue