mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
[locale] Fix string value handled by XML parser
This commit is contained in:
parent
eea421f499
commit
0c1453ff18
1 changed files with 2 additions and 4 deletions
|
@ -36,10 +36,8 @@ XMLGeoIP::processReply( const QByteArray& data )
|
||||||
cDebug() << "GeoIP found" << tzElements.length() << "elements";
|
cDebug() << "GeoIP found" << tzElements.length() << "elements";
|
||||||
for ( int it = 0; it < tzElements.length(); ++it )
|
for ( int it = 0; it < tzElements.length(); ++it )
|
||||||
{
|
{
|
||||||
if ( tzElements.at(it).isText() )
|
auto e = tzElements.at(it).toElement();
|
||||||
{
|
return splitTZString( e.text() );
|
||||||
return splitTZString( tzElements.at(it).nodeValue() );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue