diff options
Diffstat (limited to 'mappingtreemodel.cpp')
-rw-r--r-- | mappingtreemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mappingtreemodel.cpp b/mappingtreemodel.cpp index 9b849d9..42c1380 100644 --- a/mappingtreemodel.cpp +++ b/mappingtreemodel.cpp @@ -118,7 +118,7 @@ QList<QVariant> MappingTreeModel::childList(const QVariant &value, int column) c return QList<QVariant>() << value; } -QModelIndex MappingTreeModel::indexFromPath(QString &path, int column) const{ +QModelIndex MappingTreeModel::indexFromPath(const QString &path, int column) const{ QStringList items = path.split("/"); if(items.isEmpty() || column >= NumFields){ return QModelIndex(); |