Browse Source

Remove unused variable

adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
1b4c5fd34d
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/transferlistfilterswidget.cpp

2
src/gui/transferlistfilterswidget.cpp

@ -240,7 +240,7 @@ void StatusFilterWidget::updateTorrentStatus(const BitTorrent::Torrent *torrent) @@ -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…
Cancel
Save