Fix qbittorrent-nox compilation errors

Silent a compilation warning in qbtsession when using libtorrent v0.14.x
This commit is contained in:
Christophe Dumez 2010-11-18 18:36:45 +00:00
parent a58d5c0f32
commit 299b0f90bc
3 changed files with 14 additions and 2 deletions

View file

@ -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