← Back to team overview

ubuntu-phone team mailing list archive

Re: ContentHub, upstart: detecting launch reason

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/14/2015 11:24 AM, Michael Zanetti wrote:
> This is everything else but elegant, but seems to do. I've talked
> to Ken about this already some time back. IMO there should be a
> property on the ContentHub object that indicates the state.

Yep :-)

> Anyhow, this above solution words reasonably well for me.
> 
> Here's the code: 
> http://bazaar.launchpad.net/~mzanetti/tagger/trunk/view/head:/app/qml/ta
>
> 
gger.qml#L55

Thanks, I'll do something similar then. Is the 1 ms a safe interval,
or could it be that the hub emits the exportRequested signal later, if
it's somehow busy?

Ciao,
  Alberto

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlUs+QEACgkQVLQegMXeCFJx8gCfSfxtDd8yWnPJTKrKKzKrEI7s
dl4An1PePiWrAMIlleIwtFWz/+50Z7td
=02W5
-----END PGP SIGNATURE-----


References