modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
This commit is contained in:
@@ -55,9 +55,11 @@ TaskAppearance::TaskAppearance(QWidget *parent)
|
||||
this->groupLayout()->addWidget(proxy);
|
||||
Gui::Selection().Attach(this);
|
||||
|
||||
//NOLINTBEGIN
|
||||
this->connectChangedObject =
|
||||
Gui::Application::Instance->signalChangedObject.connect(std::bind
|
||||
(&TaskAppearance::slotChangedObject, this, sp::_1, sp::_2));
|
||||
//NOLINTEND
|
||||
}
|
||||
|
||||
TaskAppearance::~TaskAppearance()
|
||||
|
||||
Reference in New Issue
Block a user