mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Another torrent deletion fix
This commit is contained in:
parent
d5898f024d
commit
1d795d85d2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue