mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-12 07:48:04 +00:00
Use Path internal representation for internal value in model
The internal value is used for sorting comparisons and not displayed to the user, so make a shortcut.
This commit is contained in:
parent
66795d533a
commit
aa022400f7
@ -511,7 +511,7 @@ QVariant TransferListModel::internalValue(const BitTorrent::Torrent *torrent, co
|
||||
case TR_DOWNLOAD_PATH:
|
||||
return torrent->downloadPath().data();
|
||||
case TR_SAVE_PATH:
|
||||
return torrent->savePath().toString();
|
||||
return torrent->savePath().data();
|
||||
case TR_COMPLETED:
|
||||
return torrent->completedSize();
|
||||
case TR_RATIO_LIMIT:
|
||||
|
Loading…
Reference in New Issue
Block a user