From e1f9b0a54921397c9f6dc0e10b313814dcb908d3 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 16 Apr 2009 18:01:32 +0200 Subject: Compile Reviewed-by: TrustMe --- src/gui/itemviews/qsortfilterproxymodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/itemviews/qsortfilterproxymodel.cpp b/src/gui/itemviews/qsortfilterproxymodel.cpp index a1d35b0..91431c4 100644 --- a/src/gui/itemviews/qsortfilterproxymodel.cpp +++ b/src/gui/itemviews/qsortfilterproxymodel.cpp @@ -1035,7 +1035,7 @@ void QSortFilterProxyModelPrivate::_q_sourceDataChanged(const QModelIndex &sourc if (!source_rows_remove.isEmpty()) { remove_source_items(m->proxy_rows, m->source_rows, source_rows_remove, source_parent, Qt::Vertical); - QSet source_rows_remove_set = source_rows_remove.toSet(); + QSet source_rows_remove_set = source_rows_remove.toList().toSet(); QVector::iterator it = m->mapped_children.begin(); while (it != m->mapped_children.end()) { const QModelIndex source_child_index = *it; -- cgit v0.12