From e7cbb551f32d57eb57e6c0ac105bd571b2867ccc Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 6 Dec 2024 20:45:25 +0800 Subject: [PATCH] Remove unused variable --- src/gui/guiaddtorrentmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/guiaddtorrentmanager.cpp b/src/gui/guiaddtorrentmanager.cpp index d600a4e17c89..d1c733073af9 100644 --- a/src/gui/guiaddtorrentmanager.cpp +++ b/src/gui/guiaddtorrentmanager.cpp @@ -249,7 +249,7 @@ bool GUIAddTorrentManager::processTorrent(const QString &source { releaseTorrentFileGuard(source); }); - connect(dlg, &QDialog::finished, this, [this, source, infoHash] + connect(dlg, &QDialog::finished, this, [this, infoHash] { m_dialogs.remove(infoHash); });