[locale] Fix GeoIP (reported by demm, crazy)

- data has already been read, don't try to read more from the QNM reply
 - regression introduced in 7e25909e
main
Adriaan de Groot 7 years ago
parent 4ea8b2e6ef
commit 35f5612ec1

@ -120,7 +120,7 @@ LocaleViewStep::fetchGeoIpTimezone()
try
{
YAML::Node doc = YAML::Load( reply->readAll() );
YAML::Node doc = YAML::Load( data );
QVariant var = CalamaresUtils::yamlToVariant( doc );
if ( !var.isNull() &&

Loading…
Cancel
Save