Don't use QDBusConnection::sessionBus() when agents are run in a different
thread (which is the case when agents are run in the AgentServer). When an Agent is run in a different thread it will keep its own QDBusConnection object and use that for registering services to the DBus. To make this object accessible to subclasses of AgentBase we add a sessionBus() method to AgentBase which returns the proper connection object. These changes shouldn't influence the behavoir of current setups. CCMAIL: vkrause@kde.org svn path=/trunk/KDE/kdepimlibs/; revision=1175688
parent
fa7ceeba
Please register or sign in to comment