Commit 86725098 authored by Tomi Korpipää's avatar Tomi Korpipää

Remove splashscreen timer

presentationReady signal was reintroduced to Qt3DStudio, so the timer
for splashscreen is no longer necessary.
parent c59417bf
......@@ -50,7 +50,7 @@
import QtQuick 2.8
import QtQuick.Controls 2.1
import QtStudio3D 1.0
import QtStudio3D 1.1
Item {
id: home
......@@ -204,12 +204,9 @@ Item {
}
}
// Once https://bugreports.qt.io/browse/QT3DS-414 is solved uncomment the following lines.
// onPresentationReady: {
// if (presentationReady)
// home.studio3DPresentationReady()
// }
onPresentationReady: {
home.studio3DPresentationReady()
}
}
Connections {
......
......@@ -56,18 +56,6 @@ Item {
id: main
width: sizesMap.screenWidth
height: sizesMap.screenHeight
// onPresentationReady() signal should be restored to 3D studio code so that we can hide
// the splashscreen without a timer, https://bugreports.qt.io/browse/QT3DS-414
Timer {
id: showSplashScreenTimer
interval: 1000
running: false
repeat: false
onTriggered: hideSplashScreen()
}
Loader {
id: appLoader
anchors.fill: parent
......@@ -86,7 +74,6 @@ Item {
anchors.fill: parent
Component.onCompleted: {
appLoader.setSource("HomeView.qml")
showSplashScreenTimer.start()
}
}
......
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