From ecb9c3526855c62a972ff122800f950e881b23b5 Mon Sep 17 00:00:00 2001 From: elsid Date: Mon, 20 Mar 2023 23:04:11 +0100 Subject: [PATCH] Remove unused variable --- apps/launcher/datafilespage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index bbf6703b7e..e54688a597 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -389,8 +389,6 @@ QStringList Launcher::DataFilesPage::selectedArchivePaths(bool all) const for (int i = 0; i < ui.archiveListWidget->count(); ++i) { const auto* item = ui.archiveListWidget->item(i); - const auto archive = ui.archiveListWidget->item(i)->text(); - if (all || item->checkState() == Qt::Checked) archiveList.append(item->text()); }