mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Fix qbittorrent-nox compilation errors
Silent a compilation warning in qbtsession when using libtorrent v0.14.x
This commit is contained in:
parent
a58d5c0f32
commit
299b0f90bc
3 changed files with 14 additions and 2 deletions
|
@ -1185,6 +1185,8 @@ add_torrent_params QBtSession::initializeAddTorrentParams(QString hash) {
|
|||
p.seed_mode=true;
|
||||
else
|
||||
p.seed_mode=false;
|
||||
#else
|
||||
Q_UNUSED(hash);
|
||||
#endif
|
||||
|
||||
// Preallocation mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue