Expliit QString use with QCOMPARE.
Fix builds on older Qt.
This commit is contained in:
parent
ee28104c7a
commit
2f9d0bd626
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue