diff --git a/src/modules/locale/GeoIPTests.cpp b/src/modules/locale/GeoIPTests.cpp index 8739b47ac..42779ede0 100644 --- a/src/modules/locale/GeoIPTests.cpp +++ b/src/modules/locale/GeoIPTests.cpp @@ -57,7 +57,7 @@ GeoIPTests::testJSON() QCOMPARE( tz.second, QLatin1String( "Brussels" ) ); tz = handler.processReply( "time_zone: America/New_York\n" ); - QCOMPARE( tz.first, "America" ); + QCOMPARE( tz.first, QLatin1String( "America" ) ); } void GeoIPTests::testJSONalt()