mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Forgot to fix the magnet function too
This commit is contained in:
parent
121a636b4e
commit
2634517cdb
1 changed files with 2 additions and 2 deletions
|
@ -930,10 +930,10 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
|
||||||
Q_ASSERT(h.hash() == hash);
|
Q_ASSERT(h.hash() == hash);
|
||||||
|
|
||||||
// If temp path is enabled, move torrent
|
// If temp path is enabled, move torrent
|
||||||
if(!defaultTempPath.isEmpty() && !resumed) {
|
/*if(!defaultTempPath.isEmpty() && !resumed) {
|
||||||
qDebug("Temp folder is enabled, moving new torrent to temp folder");
|
qDebug("Temp folder is enabled, moving new torrent to temp folder");
|
||||||
h.move_storage(defaultTempPath);
|
h.move_storage(defaultTempPath);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Connections limit per torrent
|
// Connections limit per torrent
|
||||||
h.set_max_connections(Preferences::getMaxConnecsPerTorrent());
|
h.set_max_connections(Preferences::getMaxConnecsPerTorrent());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue