Try BCValue as smartptr
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user