[Interest] QDBusConnection::sessionBus() : caching required?

Thiago Macieira thiago.macieira at intel.com
Tue May 31 23:24:18 CEST 2016


On terça-feira, 31 de maio de 2016 23:12:15 BRT René J. V. Bertin wrote:
> Using QtDBus during global destruction aside, can one use
> QDbusConnection::sessionBus() multiple times or will that create so many
> connections to the session bus? The documentation doesn't seem to make that
> explicit, and your answer above could also apply only to using the method
> during global take-down.

You can call multiple times and you'll always get the same connection.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list