summaryrefslogtreecommitdiffstats
path: root/src/controls/Private/qquicktreemodeladaptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Private/qquicktreemodeladaptor.cpp')
-rw-r--r--src/controls/Private/qquicktreemodeladaptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/qquicktreemodeladaptor.cpp b/src/controls/Private/qquicktreemodeladaptor.cpp
index f1c8e4130..104008151 100644
--- a/src/controls/Private/qquicktreemodeladaptor.cpp
+++ b/src/controls/Private/qquicktreemodeladaptor.cpp
@@ -266,7 +266,7 @@ const QModelIndex &QQuickTreeModelAdaptor1::mapToModel(const QModelIndex &index)
return m_items.at(index.row()).index;
}
-QModelIndex QQuickTreeModelAdaptor1::mapRowToModelIndex(int row) const
+QPersistentModelIndex QQuickTreeModelAdaptor1::mapRowToModelIndex(int row) const
{
if (!m_model)
return QModelIndex();