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