From b8b607c4212a43a3cfa05133d6aac6ac8b7d6a6f Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 18 Apr 2018 18:28:37 -0400 Subject: [PATCH] [locale] Fix QString-vs-char* confusion --- src/modules/locale/GeoIPTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()