Seperated the Param data from the model.

This makes saving and loading the parameter data easier to do without cluttering up the model class.
This commit is contained in:
eelke 2017-12-09 15:46:33 +01:00
parent 3bf1ef4fe0
commit 0cbd0d16a1
3 changed files with 29 additions and 15 deletions

View file

@ -135,3 +135,13 @@ bool ParamListModel::removeRows(int row, int count, const QModelIndex &parent)
// // FIXME: Implement me!
// endRemoveColumns();
//}
const t_ParamList& ParamListModel::GetParams() const
{
return m_paramList;
}
void ParamListModel::SetParams(t_ParamList params)
{
m_paramList = std::move(params);
}