From b11490142e72c6b88bafc6227ea8bff8c26c1372 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 5 Oct 2022 06:29:31 +0200 Subject: [PATCH] Squish: Remove unused capture Change-Id: I3e54eabc7829d7e69471406235a0065b4e0aec6c Reviewed-by: David Schulz --- src/plugins/squish/squishfilehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/squish/squishfilehandler.cpp b/src/plugins/squish/squishfilehandler.cpp index 85fdb85c596..747e6c7fa40 100644 --- a/src/plugins/squish/squishfilehandler.cpp +++ b/src/plugins/squish/squishfilehandler.cpp @@ -68,7 +68,7 @@ public: connect(buttons->button(QDialogButtonBox::Cancel), &QPushButton::clicked, this, &QDialog::reject); connect(&aut, &QComboBox::currentIndexChanged, - this, [this, okButton] (int index) { + this, [okButton] (int index) { okButton->setEnabled(index > 0); }); setWindowTitle(Tr::tr("Recording Settings"));