mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Folder scanning settings are now properly saved
This commit is contained in:
parent
3c396257de
commit
c8d0f5a104
3 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue