From dd2a0d048482a9f31c79858b735371cc2a624efe Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 28 Jul 2019 13:05:46 +0800 Subject: [PATCH] Fix incomplete file extension not applied for new torrents --- src/base/bittorrent/torrenthandle.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/base/bittorrent/torrenthandle.cpp b/src/base/bittorrent/torrenthandle.cpp index c56b211a3..85460e7bd 100644 --- a/src/base/bittorrent/torrenthandle.cpp +++ b/src/base/bittorrent/torrenthandle.cpp @@ -1423,8 +1423,6 @@ void TorrentHandle::setTrackerLogin(const QString &username, const QString &pass void TorrentHandle::renameFile(int index, const QString &name) { - if (m_startupState != Started) return; - m_oldPath[LTFileIndex {index}].push_back(filePath(index)); ++m_renameCount; qDebug() << Q_FUNC_INFO << index << name;