jizhi
bobpan 5 years ago
parent 04214bc543
commit 6e5cf9c612

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -68,15 +68,11 @@ QVariant ModelsModel::data(const QModelIndex &index, int role /*= Qt::DisplayRol
QString str = m_lstHeader.at(nCol);
if ("modelID" == str || "modelID_detect" == str) {
QString strModel = m_list.at(nRow);
// if (!m_pData->contains(strModel))
// return QVariant();
if (m_pData->contains(strModel))
return m_pData->value(strModel)->getModelID();
}
else if ("count" == str) {
QString strModel = m_list.at(nRow);
// if (!m_pData->contains(strModel))
// return QVariant();
if (m_pData->contains(strModel))
return m_pData->value(strModel)->getCount();
}

Loading…
Cancel
Save