fix(ui/views/App/SplashScreen/SplashScreen): avoid a crash on mac, stop animation before the window destruction

This commit is contained in:
Ronan Abhamon 2017-05-05 11:56:48 +02:00
parent 65bfcb984b
commit c27a8b7ac8

View file

@ -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