mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Don't use deprecated torrent_info fields
This commit is contained in:
parent
94909d9b92
commit
78d6b14fe8
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ qlonglong TorrentInfo::fileSize(int index) const
|
|||
qlonglong TorrentInfo::fileOffset(int index) const
|
||||
{
|
||||
if (!isValid()) return -1;
|
||||
return m_nativeInfo->file_at(index).offset;
|
||||
return m_nativeInfo->files().file_offset(index);
|
||||
}
|
||||
|
||||
QList<TrackerEntry> TorrentInfo::trackers() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue