mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Displaying save path in torrent properties window
This commit is contained in:
parent
1014d8b862
commit
d1546d18e6
3 changed files with 41 additions and 2 deletions
|
@ -42,6 +42,7 @@ properties::properties(QWidget *parent, torrent_handle h, QStringList trackerErr
|
|||
filesList->setItemDelegate(PropDelegate);
|
||||
connect(filesList, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(toggleSelectedState(const QModelIndex&)));
|
||||
// get Infos from torrent handle
|
||||
save_path->setText(QString(h.save_path().string().c_str()));
|
||||
torrent_status torrentStatus = h.status();
|
||||
torrent_info torrentInfo = h.get_torrent_info();
|
||||
fileName->setText(torrentInfo.name().c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue