mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
- Added ASSERT
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user