Skip to content

Commit 5ac55a1

Browse files
committed
Update ModuleWidget.cc
1 parent a4f2394 commit 5ac55a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Interface/Application/ModuleWidget.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ ModuleWidget::ModuleWidget(NetworkEditor* ed, const QString& name, ModuleHandle
378378
updateProgrammablePorts();
379379

380380
connect(this, SIGNAL(backgroundColorUpdated(const QString&)), this, SLOT(updateBackgroundColor(const QString&)));
381-
theModule_->executionState().connectExecutionStateChanged([this](int state) { QtConcurrent::run(boost::bind(&ModuleWidget::updateBackgroundColorForModuleState, this, state)); });
381+
theModule_->executionState().connectExecutionStateChanged([this](int state) { QtConcurrent::run(
382+
[this, state] { updateBackgroundColorForModuleState(state); }); });
382383

383384
theModule_->connectExecuteSelfRequest([this](bool upstream) { executeAgain(upstream); });
384385
connect(this, SIGNAL(executeAgain(bool)), this, SLOT(executeTriggeredProgrammatically(bool)));

0 commit comments

Comments
 (0)