Merge branch 'dev' of http://192.168.1.9:3000/Bug/DCMV into dev
This commit is contained in:
@@ -331,13 +331,10 @@ void ConfigurationDialog::del()
|
||||
return;
|
||||
|
||||
QString name = m_pPacsModel->index(currentRow, 3).data().toString();
|
||||
int index = 0;
|
||||
QList<host>::iterator itr = m_lHostsNew.begin();
|
||||
for (; itr != m_lHostsNew.end(); ++itr)
|
||||
{
|
||||
if (name == itr->name)
|
||||
m_lHostsNew.removeAt(index);
|
||||
index++;
|
||||
for (int index = 0; index < m_lHostsNew.size(); ++index)
|
||||
{
|
||||
if (name == m_lHostsNew[index].name)
|
||||
m_lHostsNew.removeAt(index);
|
||||
}
|
||||
|
||||
//for each (host var in m_lHostsNew)
|
||||
|
||||
Reference in New Issue
Block a user