Recreated device sync, part I.
This commit is contained in:
@@ -55,10 +55,11 @@ const BCValueList& BCValueModel::getValueList()
|
||||
}
|
||||
|
||||
|
||||
void BCValueModel::setValueList(const BCValueList& valueList)
|
||||
void BCValueModel::takeValueList(BCValueList& newValueList)
|
||||
{
|
||||
beginResetModel();
|
||||
_valueList = valueList;
|
||||
// hier nehmen wir die valueList in Besitz.
|
||||
_valueList = std::exchange(newValueList, {} );
|
||||
endResetModel();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user