Expliit QString use with QCOMPARE.

Fix builds on older Qt.
This commit is contained in:
David Edmundson 2017-12-22 15:47:43 +00:00
parent ee28104c7a
commit 2f9d0bd626

View file

@ -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"));
}