Chore: Proper Lambda Formatting (#2167)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -14,8 +14,9 @@ Label::Label(BaseWidget *parent, QString text, FontStyle style)
|
||||
, text_(text)
|
||||
, fontStyle_(style)
|
||||
{
|
||||
this->connections_.managedConnect(getFonts()->fontChanged,
|
||||
[this] { this->updateSize(); });
|
||||
this->connections_.managedConnect(getFonts()->fontChanged, [this] {
|
||||
this->updateSize();
|
||||
});
|
||||
}
|
||||
|
||||
const QString &Label::getText() const
|
||||
|
||||
Reference in New Issue
Block a user