diff options
Diffstat (limited to 'src/qmlmodels/qqmltreemodeltotablemodel.cpp')
-rw-r--r-- | src/qmlmodels/qqmltreemodeltotablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlmodels/qqmltreemodeltotablemodel.cpp b/src/qmlmodels/qqmltreemodeltotablemodel.cpp index 67104b35ba..95d793a8c9 100644 --- a/src/qmlmodels/qqmltreemodeltotablemodel.cpp +++ b/src/qmlmodels/qqmltreemodeltotablemodel.cpp @@ -294,7 +294,7 @@ QItemSelection QQmlTreeModelToTableModel::selectionForRowRange(const QModelInde if (from > to) qSwap(from, to); - typedef QPair<QModelIndex, QModelIndex> MIPair; + typedef std::pair<QModelIndex, QModelIndex> MIPair; typedef QHash<QModelIndex, MIPair> MI2MIPairHash; MI2MIPairHash ranges; QModelIndex firstIndex = m_items.at(from).index; |