forked from qt-creator/qt-creator
Aspects: Make lambda non-mutable
Amends 16f7652717
Change-Id: Id01ce3f7f0b5c9911097fa3ef2836015a009ed2b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -3393,7 +3393,7 @@ void AspectList::addToLayout(Layouting::LayoutItem &parent)
|
||||
scrollArea->setMinimumHeight(100);
|
||||
scrollArea->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
|
||||
auto fill = [this, scrollArea]() mutable {
|
||||
auto fill = [this, scrollArea] {
|
||||
if (scrollArea->widget())
|
||||
delete scrollArea->takeWidget();
|
||||
|
||||
|
Reference in New Issue
Block a user