mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Fix append .!qB extension when it disabled.
This commit is contained in:
parent
8897001567
commit
a55a27508a
1 changed files with 4 additions and 2 deletions
|
@ -206,7 +206,8 @@ TorrentHandle::TorrentHandle(Session *session, const libtorrent::torrent_handle
|
||||||
if (!data.resumed) {
|
if (!data.resumed) {
|
||||||
if (hasMetadata()) {
|
if (hasMetadata()) {
|
||||||
setFirstLastPiecePriority(data.sequential);
|
setFirstLastPiecePriority(data.sequential);
|
||||||
appendExtensionsToIncompleteFiles();
|
if (m_session->isAppendExtensionEnabled())
|
||||||
|
appendExtensionsToIncompleteFiles();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1550,7 +1551,8 @@ void TorrentHandle::handleMetadataReceivedAlert(libt::metadata_received_alert *p
|
||||||
Q_UNUSED(p);
|
Q_UNUSED(p);
|
||||||
qDebug("Metadata received for torrent %s.", qPrintable(name()));
|
qDebug("Metadata received for torrent %s.", qPrintable(name()));
|
||||||
updateStatus();
|
updateStatus();
|
||||||
appendExtensionsToIncompleteFiles();
|
if (m_session->isAppendExtensionEnabled())
|
||||||
|
appendExtensionsToIncompleteFiles();
|
||||||
m_session->handleTorrentMetadataReceived(this);
|
m_session->handleTorrentMetadataReceived(this);
|
||||||
|
|
||||||
if (isPaused()) {
|
if (isPaused()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue