on xenial help sign in
Expose showGreeterDelayed timer to outside objects
5a18681Josh Arenson
qml/Shell.qml+4−1
@@ -363,6 +363,9 @@ Item {
363 Greeter {
363 Greeter {
364 objectName: "greeter"
364 objectName: "greeter"
365
365
366+ // Needed to expose the timer to outside objects
367+ property alias showGreeterDelayed: showGreeterDelayed
368+
366 hides: [launcher, panel.indicators]
369 hides: [launcher, panel.indicators]
367 tabletMode: shell.sideStageEnabled
370 tabletMode: shell.sideStageEnabled
368 launcherOffset: launcher.progress
371 launcherOffset: launcher.progress
@@ -443,7 +446,7 @@ Item {
443 // make the greeter load asynchronously instead, but that
446 // make the greeter load asynchronously instead, but that
444 // introduces a whole host of timing issues, especially with
447 // introduces a whole host of timing issues, especially with
445 // its animations. So this is simpler.
448 // its animations. So this is simpler.
446− showGreeterDelayed.start();
449+ greeter.showGreeterDelayed.start();
447 }
450 }
448 }
451 }
449 }
452 }