mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Set piece size to (max) 4Mb instead of empty string when created torrent
is very large.
This commit is contained in:
parent
4dbc235c70
commit
376df3218d
@ -238,7 +238,7 @@ void TorrentCreatorDlg::updateOptimalPieceSize()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
++i;
|
++i;
|
||||||
}while(i<m_piece_sizes.size());
|
}while(i<(m_piece_sizes.size()-1));
|
||||||
comboPieceSize->setCurrentIndex(i);
|
comboPieceSize->setCurrentIndex(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user