Recreated device sync, part I.

This commit is contained in:
2025-12-28 14:42:12 +01:00
parent a0bedf254d
commit 94323e7409
5 changed files with 35 additions and 34 deletions

View File

@@ -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();
}