modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
This commit is contained in:
@@ -825,11 +825,13 @@ NotificationArea::NotificationArea(QWidget* parent)
|
||||
});
|
||||
|
||||
|
||||
//NOLINTBEGIN
|
||||
// Connection to the finish restore signal to rearm Critical messages modal mode when action is
|
||||
// user initiated
|
||||
pImp->finishRestoreDocumentConnection =
|
||||
App::GetApplication().signalFinishRestoreDocument.connect(
|
||||
std::bind(&Gui::NotificationArea::slotRestoreFinished, this, sp::_1));
|
||||
//NOLINTEND
|
||||
|
||||
// Initialisation of the timer to inhibit continuous updates of the notification system in case
|
||||
// clusters of messages arrive (so as to delay the actual notification until the whole cluster
|
||||
|
||||
Reference in New Issue
Block a user