forked from qt-creator/qt-creator
Android: Fix warning
"warning: lambda capture 'this' is not used" Change-Id: If4dc702495409954c2948d4964b13c1e075becea Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -199,11 +199,11 @@ AndroidSdkManagerWidget::AndroidSdkManagerWidget(AndroidConfig &config,
|
||||
switchView(PackageListing);
|
||||
});
|
||||
|
||||
connect(expandCheck, &QCheckBox::stateChanged, this, [this, packagesView](int state) {
|
||||
if (state == Qt::Checked)
|
||||
packagesView->expandAll();
|
||||
else
|
||||
packagesView->collapseAll();
|
||||
connect(expandCheck, &QCheckBox::stateChanged, this, [packagesView](int state) {
|
||||
if (state == Qt::Checked)
|
||||
packagesView->expandAll();
|
||||
else
|
||||
packagesView->collapseAll();
|
||||
});
|
||||
connect(updateInstalledButton, &QPushButton::clicked,
|
||||
this, &AndroidSdkManagerWidget::onUpdatePackages);
|
||||
|
Reference in New Issue
Block a user