mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Folder scanning settings are now properly saved
This commit is contained in:
@@ -156,7 +156,7 @@ TransferListWidget::~TransferListWidget() {
|
||||
delete listDelegate;
|
||||
}
|
||||
|
||||
void TransferListWidget::addTorrent(QTorrentHandle& h) {
|
||||
void TransferListWidget::addTorrent(const QTorrentHandle& h) {
|
||||
if(!h.is_valid()) return;
|
||||
// Check that the torrent is not already there
|
||||
if(getRowFromHash(h.hash()) >= 0) return;
|
||||
|
||||
Reference in New Issue
Block a user