mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 18:56:34 +03:00
- Added ASSERT
This commit is contained in:
parent
7cc07d842c
commit
56dc8cad71
1 changed files with 1 additions and 1 deletions
|
@ -357,8 +357,8 @@ protected slots:
|
|||
}
|
||||
|
||||
void torrentAboutToBeDeleted(QModelIndex index) {
|
||||
if(!index.isValid()) return;
|
||||
Q_ASSERT(index.isValid());
|
||||
if(!index.isValid()) return;
|
||||
QString label = transferList->model()->index(index.row(), TR_LABEL).data(Qt::DisplayRole).toString().trimmed();
|
||||
if(!label.isEmpty()) {
|
||||
// Update label counter
|
||||
|
|
Loading…
Reference in a new issue