Commit c27a8b7a authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/views/App/SplashScreen/SplashScreen): avoid a crash on mac, stop...

fix(ui/views/App/SplashScreen/SplashScreen): avoid a crash on mac, stop animation before the window destruction
parent 65bfcb98
...@@ -19,6 +19,8 @@ Window { ...@@ -19,6 +19,8 @@ Window {
height: image.paintedHeight height: image.paintedHeight
width: image.paintedWidth width: image.paintedWidth
onClosing: indicator.running = false
Image { Image {
id: image id: image
...@@ -33,6 +35,8 @@ Window { ...@@ -33,6 +35,8 @@ Window {
source: Constants.imagesPath + 'splash_screen' + Constants.imagesFormat source: Constants.imagesPath + 'splash_screen' + Constants.imagesFormat
BusyIndicator { BusyIndicator {
id: indicator
height: SplashScreenStyle.busyIndicator.height height: SplashScreenStyle.busyIndicator.height
width: SplashScreenStyle.busyIndicator.width width: SplashScreenStyle.busyIndicator.width
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment