aboutsummaryrefslogtreecommitdiffstats
path: root/src/qquicktreemodeladaptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qquicktreemodeladaptor.cpp')
-rw-r--r--src/qquicktreemodeladaptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qquicktreemodeladaptor.cpp b/src/qquicktreemodeladaptor.cpp
index 9c6fba2..5a231af 100644
--- a/src/qquicktreemodeladaptor.cpp
+++ b/src/qquicktreemodeladaptor.cpp
@@ -116,7 +116,7 @@ void QQuickTreeModelAdaptor::clearModelData()
endResetModel();
}
-const QModelIndex &QQuickTreeModelAdaptor::rootIndex() const
+QModelIndex QQuickTreeModelAdaptor::rootIndex() const
{
return m_rootIndex;
}