on xenial help sign in
only signal available result if the name is not empty
a2c4703Lukáš Tinkl
plugins/Wizard/timezonemodel.cpp+2−2
@@ -137,14 +137,14 @@ void TimeZonePopulateWorker::buildCityMap()
137 tmpTz.timezone = zone;
137 tmpTz.timezone = zone;
138 tmpTz.state = state;
138 tmpTz.state = state;
139 tmpTz.full_country = full_country;
139 tmpTz.full_country = full_country;
140+
141+ Q_EMIT (resultReady(tmpTz));
140 }
142 }
141 g_free (en_name);
143 g_free (en_name);
142 g_free (country);
144 g_free (country);
143 g_free (zone);
145 g_free (zone);
144 g_free (state);
146 g_free (state);
145 g_free (full_country);
147 g_free (full_country);
146−
147− Q_EMIT (resultReady(tmpTz));
148 }
148 }
149
149
150 g_ptr_array_free (tz_locations, TRUE);
150 g_ptr_array_free (tz_locations, TRUE);