354 QListView *servers = iscmd ? fDimCmdServers : fDimSvcServers;
356 QStandardItemModel *m =
dynamic_cast<QStandardItemModel*
>(servers->model());
360 QList<QStandardItem*> l = m->findItems(server.c_str());
364 for (
int i=0;
i<l[0]->rowCount();
i++)
366 QStandardItem *row = l[0]->child(
i);
367 if (row->text().toStdString()==service)
369 l[0]->removeRow(row->index().row());