Commit 2df44141 authored by Àlex Fiestas's avatar Àlex Fiestas

Add QStringLiteral to freedesktoptest

At some point we will make solid compile with QT_NO_CAST_* so
we better use these now.
parent 1d38c0f3
......@@ -53,8 +53,8 @@ void solidFreedesktopTest::initTestCase()
qputenv("SOLID_POWER_BACKEND", "FREE_DESKTOP");
m_fakeUPower = new FakeUpower(this);
QDBusConnection::systemBus().registerService("org.freedesktop.UPower");
QDBusConnection::systemBus().registerObject("/org/freedesktop/UPower", m_fakeUPower, QDBusConnection::ExportAllContents);
QDBusConnection::systemBus().registerService(QStringLiteral("org.freedesktop.UPower"));
QDBusConnection::systemBus().registerObject(QStringLiteral("/org/freedesktop/UPower"), m_fakeUPower, QDBusConnection::ExportAllContents);
}
void solidFreedesktopTest::testAcPluggedJob()
......
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