mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Merge pull request #10988 from Chocobo1/qbext
Fix incomplete file extension not applied for new torrents
This commit is contained in:
commit
fd17b9bbf0
1 changed files with 0 additions and 2 deletions
|
@ -1526,8 +1526,6 @@ void TorrentHandle::moveStorage(const QString &newPath, bool overwrite)
|
|||
|
||||
void TorrentHandle::renameFile(const int index, const QString &name)
|
||||
{
|
||||
if (m_startupState != Started) return;
|
||||
|
||||
m_oldPath[LTFileIndex {index}].push_back(filePath(index));
|
||||
++m_renameCount;
|
||||
m_nativeHandle.rename_file(LTFileIndex {index}, Utils::Fs::toNativePath(name).toStdString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue