Project

General

Profile

Segfault in WSortFilterProxyModel::sourceDataChanged() wi... ยป wt-fix-crash-in-sort-filter-proxy-model-source-data-changed.patch

Jan Lindemann, 08/08/2014 09:03 PM

View differences:

src/Wt/WSortFilterProxyModel.C
return;
Item *item = itemFromIndex(parent);
if (!item->proxyRowMap_.size())
return;
for (int row = topLeft.row(); row <= bottomRight.row(); ++row) {
int oldMappedRow = item->sourceRowMap_[row];
bool propagateDataChange = oldMappedRow != -1;
    (1-1/1)