mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Remove unused lambda capture
This commit is contained in:
parent
32a861fd1b
commit
af5af0ad3f
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ void TransferListWidget::setMaxRatioSelectedTorrents()
|
||||||
auto dialog = new UpDownRatioDialog(useGlobalValue, currentMaxRatio, BitTorrent::TorrentHandle::MAX_RATIO,
|
auto dialog = new UpDownRatioDialog(useGlobalValue, currentMaxRatio, BitTorrent::TorrentHandle::MAX_RATIO,
|
||||||
currentMaxSeedingTime, BitTorrent::TorrentHandle::MAX_SEEDING_TIME, this);
|
currentMaxSeedingTime, BitTorrent::TorrentHandle::MAX_SEEDING_TIME, this);
|
||||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
connect(dialog, &QDialog::accepted, this, [this, dialog, torrents]()
|
connect(dialog, &QDialog::accepted, this, [dialog, torrents]()
|
||||||
{
|
{
|
||||||
for (BitTorrent::TorrentHandle *const torrent : torrents) {
|
for (BitTorrent::TorrentHandle *const torrent : torrents) {
|
||||||
const qreal ratio = (dialog->useDefault()
|
const qreal ratio = (dialog->useDefault()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue