mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Remove unused variable
This commit is contained in:
@@ -240,7 +240,7 @@ void StatusFilterWidget::updateTorrentStatus(const BitTorrent::Torrent *torrent)
|
|||||||
{
|
{
|
||||||
TorrentFilterBitset &torrentStatus = m_torrentsStatus[torrent];
|
TorrentFilterBitset &torrentStatus = m_torrentsStatus[torrent];
|
||||||
|
|
||||||
const auto update = [this, &torrentStatus](const TorrentFilter::Type status, const bool needStatus, int &counter)
|
const auto update = [&torrentStatus](const TorrentFilter::Type status, const bool needStatus, int &counter)
|
||||||
{
|
{
|
||||||
const bool hasStatus = torrentStatus[status];
|
const bool hasStatus = torrentStatus[status];
|
||||||
if (needStatus && !hasStatus)
|
if (needStatus && !hasStatus)
|
||||||
|
|||||||
Reference in New Issue
Block a user