mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 06:17:58 +00:00
Another torrent deletion fix
This commit is contained in:
parent
d5898f024d
commit
1d795d85d2
@ -291,7 +291,7 @@ void TorrentModel::removeTorrent(const QString &hash)
|
||||
{
|
||||
const int row = torrentRow(hash);
|
||||
qDebug() << Q_FUNC_INFO << hash << row;
|
||||
if(row > 0) {
|
||||
if(row >= 0) {
|
||||
beginRemoveTorrent(row);
|
||||
m_torrents.removeAt(row);
|
||||
endRemoveTorrent();
|
||||
|
Loading…
Reference in New Issue
Block a user