mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Fix build with libtorrent 0.15.x
This commit is contained in:
parent
5c7bc46451
commit
632faf55be
1 changed files with 1 additions and 3 deletions
|
@ -636,9 +636,7 @@ void AddNewTorrentDialog::setupTreeview() {
|
|||
ui->date_lbl->setText(m_torrentInfo->creation_date() ? misc::toQString(*m_torrentInfo->creation_date()) : tr("Not available"));
|
||||
updateDiskSpaceLabel();
|
||||
|
||||
#if LIBTORRENT_VERSION_NUM >= 1600
|
||||
file_storage fs = m_torrentInfo->files();
|
||||
#endif
|
||||
file_storage fs = m_torrentInfo->files();
|
||||
|
||||
// Populate m_filesList
|
||||
for (int i = 0; i < m_torrentInfo->num_files(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue