diff --git a/src/corelib/itemmodels/qabstractproxymodel.cpp b/src/corelib/itemmodels/qabstractproxymodel.cpp index 9b8c11af12..cdf811e29b 100644 --- a/src/corelib/itemmodels/qabstractproxymodel.cpp +++ b/src/corelib/itemmodels/qabstractproxymodel.cpp @@ -366,7 +366,7 @@ bool QAbstractProxyModel::hasChildren(const QModelIndex &parent) const QModelIndex QAbstractProxyModel::sibling(int row, int column, const QModelIndex &idx) const { Q_D(const QAbstractProxyModel); - return d->model->sibling(row, column, mapToSource(idx)); + return mapFromSource(d->model->sibling(row, column, mapToSource(idx))); } /*!