From 47daf1b358f7d2497991d7ebc83d956664b067a1 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Sun, 30 Jan 2022 08:52:16 +0300 Subject: [PATCH] Allow to open incomplete files from content view Fixes regression from f44341a8e26f078b8d1921824bf6d88a9c97f135. PR #16318. --- src/gui/properties/propertieswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/properties/propertieswidget.cpp b/src/gui/properties/propertieswidget.cpp index 35d3fd234..09a867a0d 100644 --- a/src/gui/properties/propertieswidget.cpp +++ b/src/gui/properties/propertieswidget.cpp @@ -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; }