@@ -28,7 +28,7 @@ TimeZoneLocationModel::TimeZoneLocationModel(QObject *parent):
2828 QAbstractListModel(parent),
2929 m_workerThread(new TimeZonePopulateWorker())
3030{
31− qRegisterMetaType<TzLocation>();
31+ qRegisterMetaType<TzLocationWizard>();
3232
3333 m_roleNames[Qt::DisplayRole] = "displayName";
3434 m_roleNames[TimeZoneRole] = "timeZone";
@@ -66,7 +66,7 @@ void TimeZoneLocationModel::store()
6666 endResetModel();
6767}
6868
69−void TimeZoneLocationModel::processModelResult(const TzLocation &location)
69+void TimeZoneLocationModel::processModelResult(const TzLocationWizard &location)
7070{
7171 m_locations.append(location);
7272}
@@ -83,7 +83,7 @@ QVariant TimeZoneLocationModel::data(const QModelIndex &index, int role) const
8383 if (index.row() >= m_locations.count() || index.row() < 0)
8484 return QVariant();
8585
86− const TzLocation tz = m_locations.at(index.row());
86+ const TzLocationWizard tz = m_locations.at(index.row());
8787
8888 const QString country(tz.full_country.isEmpty() ? tz.country : tz.full_country);
8989
@@ -130,7 +130,7 @@ void TimeZonePopulateWorker::buildCityMap()
130130 TzDB *tzdb = tz_load_db();
131131 GPtrArray *tz_locations = tz_get_locations(tzdb);
132132
133− TimeZoneLocationModel::TzLocation tmpTz;
133+ TimeZoneLocationModel::TzLocationWizard tmpTz;
134134
135135 for (guint i = 0; i < tz_locations->len; ++i) {
136136 auto tmp = static_cast<CcTimezoneLocation *>(g_ptr_array_index(tz_locations, i));