forked from qt-creator/qt-creator
Perforce: Fix compiler warning
Remove unused lambda capture Change-Id: I4beeba43bbb9edab3dcbe70c97e0e6c666d023c4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -240,7 +240,7 @@ PerforceSettingsPage::PerforceSettingsPage(PerforceSettings *settings)
|
||||
|
||||
auto errorLabel = new QLabel;
|
||||
auto testButton = new QPushButton(PerforceSettings::tr("Test"));
|
||||
connect(testButton, &QPushButton::clicked, this, [this, settings, errorLabel, testButton] {
|
||||
connect(testButton, &QPushButton::clicked, this, [settings, errorLabel, testButton] {
|
||||
testButton->setEnabled(false);
|
||||
auto checker = new PerforceChecker(errorLabel);
|
||||
checker->setUseOverideCursor(true);
|
||||
|
Reference in New Issue
Block a user