- Fixed segfault that would happen when unfiltering files in torrent addition dialog (closes #163379)

This commit is contained in:
Christophe Dumez
2007-11-19 21:44:21 +00:00
parent 1b6183bfa3
commit 26b6c26ea8
2 changed files with 5 additions and 1 deletions

View File

@@ -181,7 +181,8 @@ class PropListDelegate: public QItemDelegate {
// } else {
model->setData(index, QVariant(HIGH));
model->setData(index, QVariant(NORMAL));
*filteredFilesChanged = true;
if(filteredFilesChanged != 0)
*filteredFilesChanged = true;
// }
break;
case 2: