mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Remove unused variable
This commit is contained in:
parent
802ec5a14e
commit
1b4c5fd34d
@ -240,7 +240,7 @@ void StatusFilterWidget::updateTorrentStatus(const BitTorrent::Torrent *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];
|
||||
if (needStatus && !hasStatus)
|
||||
|
Loading…
Reference in New Issue
Block a user