diff --git a/autotests/integration/shell_client_test.cpp b/autotests/integration/shell_client_test.cpp index d4a0f8fd81..22b22068ab 100644 --- a/autotests/integration/shell_client_test.cpp +++ b/autotests/integration/shell_client_test.cpp @@ -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")); }