diff options
author | Pavel Lebedev <cygnus@michiru.ru> | 2010-10-27 13:52:28 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-10-27 13:52:28 (GMT) |
commit | d9cc9d959a4f177656d5c13725529e9877da3b30 (patch) | |
tree | 4590c7f43c636dea1b3dc2ddeee357b2f3e6813e /src/gui/itemviews | |
parent | e9397addd1de905e75863099021637213a458814 (diff) | |
download | Qt-d9cc9d959a4f177656d5c13725529e9877da3b30.zip Qt-d9cc9d959a4f177656d5c13725529e9877da3b30.tar.gz Qt-d9cc9d959a4f177656d5c13725529e9877da3b30.tar.bz2 |
Fix QAbstractProxyModel::mimeData to use list of mapped indexes
instead of original in call to source model.
Merge-request: 876
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r-- | src/gui/itemviews/qabstractproxymodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractproxymodel.cpp b/src/gui/itemviews/qabstractproxymodel.cpp index 12c4c7b..b9574f1 100644 --- a/src/gui/itemviews/qabstractproxymodel.cpp +++ b/src/gui/itemviews/qabstractproxymodel.cpp @@ -362,7 +362,7 @@ QMimeData* QAbstractProxyModel::mimeData(const QModelIndexList &indexes) const QModelIndexList list; foreach(const QModelIndex &index, indexes) list << mapToSource(index); - return d->model->mimeData(indexes); + return d->model->mimeData(list); } /*! |