summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'mappingtreemodel.h')
-rw-r--r--mappingtreemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mappingtreemodel.h b/mappingtreemodel.h
index 7a3b5fe..c1b6248 100644
--- a/mappingtreemodel.h
+++ b/mappingtreemodel.h
@@ -35,7 +35,7 @@ class MappingTreeModel : public SmTreeModel {
//data
QVariant data(const QModelIndex &index, int role) const;
QList<QVariant> childList(const QVariant &value, int column = 0) const;
- QModelIndex indexFromPath(QString &path, int column = 0) const;
+ QModelIndex indexFromPath(const QString &path, int column = 0) const;
bool setData(const QModelIndex &index, const QVariant &value, int role);
void move(const QModelIndex &source, const QModelIndex &dest);
bool addMappingType(const QString &type);