From c27a8b7ac855b88fde822084e169c74de2668d0a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 5 May 2017 11:56:48 +0200 Subject: [PATCH] fix(ui/views/App/SplashScreen/SplashScreen): avoid a crash on mac, stop animation before the window destruction --- linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml b/linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml index f45538865..8b02f10a0 100644 --- a/linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml +++ b/linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml @@ -19,6 +19,8 @@ Window { height: image.paintedHeight width: image.paintedWidth + onClosing: indicator.running = false + Image { id: image @@ -33,6 +35,8 @@ Window { source: Constants.imagesPath + 'splash_screen' + Constants.imagesFormat BusyIndicator { + id: indicator + height: SplashScreenStyle.busyIndicator.height width: SplashScreenStyle.busyIndicator.width