Chore: Proper Lambda Formatting (#2167)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -72,8 +72,9 @@ void QuickSwitcherPopup::initWidgets()
|
||||
listView->setModel(&this->switcherModel_);
|
||||
|
||||
QObject::connect(listView.getElement(),
|
||||
&GenericListView::closeRequested, this,
|
||||
[this] { this->close(); });
|
||||
&GenericListView::closeRequested, this, [this] {
|
||||
this->close();
|
||||
});
|
||||
|
||||
this->ui_.searchEdit->installEventFilter(listView.getElement());
|
||||
}
|
||||
@@ -128,7 +129,9 @@ void QuickSwitcherPopup::updateSuggestions(const QString &text)
|
||||
* Timeout interval 0 means the call will be delayed until all window events
|
||||
* have been processed (cf. https://doc.qt.io/qt-5/qtimer.html#interval-prop).
|
||||
*/
|
||||
QTimer::singleShot(0, [this] { this->adjustSize(); });
|
||||
QTimer::singleShot(0, [this] {
|
||||
this->adjustSize();
|
||||
});
|
||||
}
|
||||
|
||||
void QuickSwitcherPopup::themeChangedEvent()
|
||||
|
||||
Reference in New Issue
Block a user