|
|
@ -902,7 +902,10 @@ void DroidStar::process_p25_hosts()
|
|
|
|
while (i != m_hostmap.constEnd()) {
|
|
|
|
while (i != m_hostmap.constEnd()) {
|
|
|
|
m_hostsmodel.append(i.key());
|
|
|
|
m_hostsmodel.append(i.key());
|
|
|
|
++i;
|
|
|
|
++i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
QMap<int, QString> m;
|
|
|
|
|
|
|
|
for (auto s : m_hostsmodel) m[s.toInt()] = s;
|
|
|
|
|
|
|
|
m_hostsmodel = QStringList(m.values());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
f.close();
|
|
|
|
f.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -943,7 +946,10 @@ void DroidStar::process_nxdn_hosts()
|
|
|
|
while (i != m_hostmap.constEnd()) {
|
|
|
|
while (i != m_hostmap.constEnd()) {
|
|
|
|
m_hostsmodel.append(i.key());
|
|
|
|
m_hostsmodel.append(i.key());
|
|
|
|
++i;
|
|
|
|
++i;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
QMap<int, QString> m;
|
|
|
|
|
|
|
|
for (auto s : m_hostsmodel) m[s.toInt()] = s;
|
|
|
|
|
|
|
|
m_hostsmodel = QStringList(m.values());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
f.close();
|
|
|
|
f.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|