@@ -123,9 +123,9 @@ bool TimeZoneFilterModel::filterAcceptsRow(int row, const QModelIndex &parentInd
124 if (!m_filter.isEmpty()) { // filtering by freeform text input, cf setFilter(QString)
124 if (!m_filter.isEmpty()) { // filtering by freeform text input, cf setFilter(QString)
125 const QString city = sourceModel()->index(row, 0, parentIndex).data(TimeZoneModel::City).toString();
125 const QString city = sourceModel()->index(row, 0, parentIndex).data(TimeZoneModel::City).toString();
126− const QString country = sourceModel()->index(row, 0, parentIndex).data(TimeZoneModel::Country).toString();
126+ //const QString country = sourceModel()->index(row, 0, parentIndex).data(TimeZoneModel::Country).toString();
128− if (m_stringMatcher.indexIn(city) == 0 || m_stringMatcher.indexIn(country) == 0) { // match at the beginning of the city/country name
128+ if (m_stringMatcher.indexIn(city) == 0 /*|| m_stringMatcher.indexIn(country) == 0*/) { // match at the beginning of the city name
129 return true;
129 return true;
131 } else if (!m_country.isEmpty()) { // filter by country code
131 } else if (!m_country.isEmpty()) { // filter by country code