mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Remove unused variable
This commit is contained in:
parent
802ec5a14e
commit
1b4c5fd34d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue