Fix missing return
This commit is contained in:
parent
575d0cabdb
commit
24eadaf516
|
@ -283,6 +283,7 @@ bool FieldModel::removeRows(int row, int count, const QModelIndex &parent)
|
||||||
beginRemoveRows(parent, row, row + count - 1);
|
beginRemoveRows(parent, row, row + count - 1);
|
||||||
m_fields->erase(m_fields->begin() + row, m_fields->begin() + row + count);
|
m_fields->erase(m_fields->begin() + row, m_fields->begin() + row + count);
|
||||||
endRemoveRows();
|
endRemoveRows();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FieldModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
|
bool FieldModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
|
||||||
|
|
Loading…
Reference in New Issue