mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
Fix TorrentHandle path methods. Closes #3847.
This commit is contained in:
parent
d0ebe08bf5
commit
501ab07024
8 changed files with 89 additions and 52 deletions
|
@ -221,7 +221,7 @@ QVariant TorrentModel::data(const QModelIndex &index, int role) const
|
|||
case TR_TIME_ELAPSED:
|
||||
return (role == Qt::DisplayRole) ? torrent->activeTime() : torrent->seedingTime();
|
||||
case TR_SAVE_PATH:
|
||||
return Utils::Fs::toNativePath(torrent->rootPath());
|
||||
return Utils::Fs::toNativePath(torrent->savePath());
|
||||
case TR_COMPLETED:
|
||||
return torrent->completedSize();
|
||||
case TR_RATIO_LIMIT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue