mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -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";
|
||||
for ( int it = 0; it < tzElements.length(); ++it )
|
||||
{
|
||||
if ( tzElements.at(it).isText() )
|
||||
{
|
||||
return splitTZString( tzElements.at(it).nodeValue() );
|
||||
}
|
||||
auto e = tzElements.at(it).toElement();
|
||||
return splitTZString( e.text() );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue