mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Fix possible warnings related to toggleSelectedTorrentsSuperSeeding()
This commit is contained in:
parent
7846afaeb8
commit
7854911d2f
2 changed files with 2 additions and 4 deletions
|
@ -545,8 +545,8 @@ void TransferListWidget::displayDLHoSMenu(const QPoint&){
|
|||
}
|
||||
}
|
||||
|
||||
#if LIBTORRENT_VERSION_MINOR > 14
|
||||
void TransferListWidget::toggleSelectedTorrentsSuperSeeding() const {
|
||||
#if LIBTORRENT_VERSION_MINOR > 14
|
||||
const QStringList hashes = getSelectedTorrentsHashes();
|
||||
foreach(const QString &hash, hashes) {
|
||||
QTorrentHandle h = BTSession->getTorrentHandle(hash);
|
||||
|
@ -554,8 +554,8 @@ void TransferListWidget::toggleSelectedTorrentsSuperSeeding() const {
|
|||
h.super_seeding(!h.super_seeding());
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void TransferListWidget::toggleSelectedTorrentsSequentialDownload() const {
|
||||
const QStringList hashes = getSelectedTorrentsHashes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue