Commit 2f9d0bd6 authored by David Edmundson's avatar David Edmundson

Expliit QString use with QCOMPARE.

Fix builds on older Qt.
parent ee28104c
......@@ -970,8 +970,8 @@ void TestShellClient::testAppMenu()
menu->setAddress("service.name", "object/path");
spy.wait();
QCOMPARE(c->hasApplicationMenu(), true);
QCOMPARE(c->applicationMenuServiceName(), "service.name");
QCOMPARE(c->applicationMenuObjectPath(), "object/path");
QCOMPARE(c->applicationMenuServiceName(), QString("service.name"));
QCOMPARE(c->applicationMenuObjectPath(), QString("object/path"));
}
......
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