[locale] Fix QString-vs-char* confusion
This commit is contained in:
parent
ba2dbd4f2e
commit
b8b607c421
@ -57,7 +57,7 @@ GeoIPTests::testJSON()
|
|||||||
QCOMPARE( tz.second, QLatin1String( "Brussels" ) );
|
QCOMPARE( tz.second, QLatin1String( "Brussels" ) );
|
||||||
|
|
||||||
tz = handler.processReply( "time_zone: America/New_York\n" );
|
tz = handler.processReply( "time_zone: America/New_York\n" );
|
||||||
QCOMPARE( tz.first, "America" );
|
QCOMPARE( tz.first, QLatin1String( "America" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void GeoIPTests::testJSONalt()
|
void GeoIPTests::testJSONalt()
|
||||||
|
Loading…
Reference in New Issue
Block a user