Commit fa3aa0c6 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix ksystemstatstest failure

SensorObject uses Qt::QueuedConnection to register itself with its parent
SensorContainer. Give those connections a chance to run.

(cherry picked from commit c5aba84e)
parent efb2f3dc
......@@ -85,13 +85,15 @@ void KStatsTest::loadProviders()
m_testPlugin = new TestPlugin(this);
// Sensor registration in containers uses queued connections, trigger those
void KStatsTest::initTestCase()
QDBusConnection::sessionBus().registerObject("/", this, QDBusConnection::ExportAdaptors);
void KStatsTest::findById()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment