mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Forgot to fix the magnet function too
This commit is contained in:
parent
121a636b4e
commit
2634517cdb
@ -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…
x
Reference in New Issue
Block a user