Delay showing the ActivityIndicator by 2 seconds.
commit9f551ce7a1f177a192e25fbce02f75f7eb6ab7ba
authorFlorian Boucault <florian.boucault@canonical.com>
dateWed 20 Jan 2016, 09:51 (11 years ago)
parente2e7e7d
qml/Stages/Splash.qml+7−2
@@ -138,15 +138,20 @@ Item {
138138 visible: d.showIcon
139139 }
140140
141+ Timer {
142+ interval: 2000
143+ onTriggered: spinner.running = true
144+ running: true
145+ }
146+
141147 ActivityIndicator {
148+ id: spinner
142149 anchors.centerIn: header.visible ? parent : undefined
143150 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
144151
145152 anchors.horizontalCenter: header.visible ? undefined : parent.horizontalCenter
146153 anchors.bottom: header.visible ? undefined : parent.bottom
147154 anchors.bottomMargin: header.visible ? 0 : units.gu(12)
148−
149− running: true
150155 }
151156
152157 MouseArea {