mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Allow to open incomplete files from content view
Fixes regression from f44341a8e2
.
PR #16318.
This commit is contained in:
parent
7a910a8cc1
commit
47daf1b358
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ QString PropertiesWidget::getFullPath(const QModelIndex &index) const
|
|||
if (m_propListModel->itemType(index) == TorrentContentModelItem::FileType)
|
||||
{
|
||||
const int fileIdx = m_propListModel->getFileIndex(index);
|
||||
const QString filename {m_torrent->filePath(fileIdx)};
|
||||
const QString filename {m_torrent->actualFilePath(fileIdx)};
|
||||
const QString fullPath {Utils::Fs::expandPath(saveDir.absoluteFilePath(filename))};
|
||||
return fullPath;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue