D27476: [KDBusConnectionPool] Handle the case of no qApp

David Edmundson noreply at phabricator.kde.org
Tue Feb 18 14:04:10 GMT 2020


davidedmundson created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  If we don't have a QApplication we can't use the thread-local
  QDBusConnection, but we can at least return something valid.
  
  Intended use case is to call KDEInitInterface::ensureKdeinitRunning can
  be called from a process with no QApplication.

TEST PLAN
  Used in a process with no QApplication

REPOSITORY
  R271 KDBusAddons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27476

AFFECTED FILES
  src/kdbusconnectionpool.cpp

To: davidedmundson
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200218/ffb753d3/attachment.html>


More information about the Kde-frameworks-devel mailing list