Chore: Proper Lambda Formatting (#2167)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -58,9 +58,10 @@ void initUpdateButton(Button &button,
|
||||
|
||||
updateChange(Updates::instance().getStatus());
|
||||
|
||||
signalHolder.managedConnect(
|
||||
Updates::instance().statusUpdated,
|
||||
[updateChange](auto status) { updateChange(status); });
|
||||
signalHolder.managedConnect(Updates::instance().statusUpdated,
|
||||
[updateChange](auto status) {
|
||||
updateChange(status);
|
||||
});
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -69,7 +69,9 @@ private:
|
||||
// the cast here should absolutely not be necessary, but gcc still requires it
|
||||
this->conn_ =
|
||||
QObject::connect((QObject *)other, &QObject::destroyed, qApp,
|
||||
[this](QObject *) { this->set(nullptr); },
|
||||
[this](QObject *) {
|
||||
this->set(nullptr);
|
||||
},
|
||||
Qt::DirectConnection);
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace {
|
||||
QObject::connect(
|
||||
p, static_cast<void (QProcess::*)(int)>(&QProcess::finished),
|
||||
[=](int res) {
|
||||
p->deleteLater(); //
|
||||
p->deleteLater();
|
||||
});
|
||||
|
||||
return p;
|
||||
|
||||
Reference in New Issue
Block a user