163
163
if (!fileName.contains(QLatin1String("countries.txt")))
164
164
return new QStringListModel(words, completer);
168
168
QStandardItemModel *m = new QStandardItemModel(words.count(), 2, completer);
169
169
for (int i = 0; i < words.count(); ++i) {
170
170
QModelIndex countryIdx = m->index(i, 0);