mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Fix build with libtorrent 0.15.x
This commit is contained in:
@@ -636,9 +636,7 @@ void AddNewTorrentDialog::setupTreeview() {
|
|||||||
ui->date_lbl->setText(m_torrentInfo->creation_date() ? misc::toQString(*m_torrentInfo->creation_date()) : tr("Not available"));
|
ui->date_lbl->setText(m_torrentInfo->creation_date() ? misc::toQString(*m_torrentInfo->creation_date()) : tr("Not available"));
|
||||||
updateDiskSpaceLabel();
|
updateDiskSpaceLabel();
|
||||||
|
|
||||||
#if LIBTORRENT_VERSION_NUM >= 1600
|
|
||||||
file_storage fs = m_torrentInfo->files();
|
file_storage fs = m_torrentInfo->files();
|
||||||
#endif
|
|
||||||
|
|
||||||
// Populate m_filesList
|
// Populate m_filesList
|
||||||
for (int i = 0; i < m_torrentInfo->num_files(); ++i) {
|
for (int i = 0; i < m_torrentInfo->num_files(); ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user