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.
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.
Used in a process with no QApplication
No Linters Available |
No Unit Test Coverage |
Buildable 22627 | |
Build 22645: arc lint + arc unit |
src/kdbusconnectionpool.cpp | ||
---|---|---|
66 | It feels like we should be using the s_perThreadConnection when we're not on a QApplication. Non-QApplications might still have threads. |