From e6d67f3aee5a943cdcfe4eb0742c9551285abb0c Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Sat, 28 Nov 2020 23:11:10 +0800 Subject: [PATCH] Fix build --- src/frontend/import_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/import_dialog.cpp b/src/frontend/import_dialog.cpp index 14d87ab..9bcc18e 100644 --- a/src/frontend/import_dialog.cpp +++ b/src/frontend/import_dialog.cpp @@ -270,7 +270,7 @@ void ImportDialog::InsertSecondLevelItem(std::size_t row, const Core::ContentSpe ui->main->setItemWidget(item, 0, checkBox); connect(checkBox, &QCheckBox::stateChanged, - [this, item, id = content.id, size = content.maximum_size, type = content.type, + [this, item, size = content.maximum_size, type = content.type, exists = content.already_exists](int state) { if (state == Qt::Checked) { if (!applet_warning_shown && !exists &&