summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-04-16 16:01:32 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-04-16 16:01:32 (GMT)
commite1f9b0a54921397c9f6dc0e10b313814dcb908d3 (patch)
tree99b90a994e5de92d5235931691cd0de09aea4737 /src/gui/itemviews
parentd1221d84714a169e12192cfa073af11db61bfbcc (diff)
downloadQt-e1f9b0a54921397c9f6dc0e10b313814dcb908d3.zip
Qt-e1f9b0a54921397c9f6dc0e10b313814dcb908d3.tar.gz
Qt-e1f9b0a54921397c9f6dc0e10b313814dcb908d3.tar.bz2
Compile
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qsortfilterproxymodel.cpp2
1 files changed, 1 insertions, 1 deletions
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<int> source_rows_remove_set = source_rows_remove.toSet();
+ QSet<int> source_rows_remove_set = source_rows_remove.toList().toSet();
QVector<QModelIndex>::iterator it = m->mapped_children.begin();
while (it != m->mapped_children.end()) {
const QModelIndex source_child_index = *it;