1
0
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:
Christophe Dumez 2010-07-16 19:58:07 +00:00
parent 121a636b4e
commit 2634517cdb

View File

@ -930,10 +930,10 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
Q_ASSERT(h.hash() == hash);
// 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");
h.move_storage(defaultTempPath);
}
}*/
// Connections limit per torrent
h.set_max_connections(Preferences::getMaxConnecsPerTorrent());