fix crash (showing window while it is destroyed) (fix #LINQT-2077, #LINQT-2087, #LINQT-2110)

This commit is contained in:
Gaelle Braud 2025-11-06 09:11:53 +01:00
parent 0c87a8d94e
commit c70426f770

View file

@ -16,7 +16,7 @@ ApplicationWindow {
width: Math.min(Utils.getSizeWithScreenRatio(1512), Screen.desktopAvailableWidth)
height: Math.min(Utils.getSizeWithScreenRatio(982), Screen.desktopAvailableHeight)
onActiveChanged: UtilsCpp.setLastActiveWindow(this)
onActiveChanged: if (active) UtilsCpp.setLastActiveWindow(this)
property bool isFullscreen: visibility == Window.FullScreen
onIsFullscreenChanged: DesktopToolsCpp.screenSaverStatus = !isFullscreen