From ee8690c01bfcf3395c6d0ff7ad27d8d9b0fa7763 Mon Sep 17 00:00:00 2001 From: "Stiliyan Tonev (Bark)" Date: Thu, 5 Jun 2025 10:37:51 +0300 Subject: [PATCH] refact: Revert changes introducing '*' to 'applyToTorrents' --- src/webui/api/torrentscontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/api/torrentscontroller.cpp b/src/webui/api/torrentscontroller.cpp index b0712ffa2..fc2d6d4cb 100644 --- a/src/webui/api/torrentscontroller.cpp +++ b/src/webui/api/torrentscontroller.cpp @@ -158,7 +158,7 @@ namespace void applyToTorrents(const QStringList &idList, Func func) requires std::invocable { - if ((idList.size() == 1) && ((idList[0] == u"all") || (idList[0] == u"*"))) + if ((idList.size() == 1) && (idList[0] == u"all")) { for (BitTorrent::Torrent *const torrent : asConst(BitTorrent::Session::instance()->torrents())) func(torrent);