fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -97,10 +97,10 @@ bool AddModel::setData(const QModelIndex &index, const QVariant &value, int role
|
||||
}
|
||||
|
||||
|
||||
QVariant::Type AddModel::getColumnType(const int column) const
|
||||
QMetaType::Type AddModel::getColumnType(const int column) const
|
||||
{
|
||||
if (column < 0 || column >= m_headerList.size())
|
||||
return QVariant::Invalid;
|
||||
return QMetaType::UnknownType;
|
||||
return m_headerList.at(column).second;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user