Try BCValue as smartptr

This commit is contained in:
2026-01-02 01:43:49 +01:00
parent 43f72d1be6
commit fc5ab611bd
11 changed files with 60 additions and 69 deletions

View File

@@ -250,13 +250,13 @@ void BCMainWindow::onSyncFromDevice()
// alle einzeln? echt jetzt?
for( const BCValue& value : currentList )
for( const BCValuePtr &value : currentList )
{
qDebug() << " --- value: " << value.label;
qDebug() << " --- begin sync of value: " << value->label;
// wir setze
// statt '_transmitter.enqueueValueCommand( value )' entkoppeln
// wir das eleganter über emit requestValueUpdate()
emit requestValueUpdate( BCValue::OpID::ReadValue, &value);
//emit requestValueUpdate( value);
}