From 6fc9473ea5b84702cc5f07bc405394bddfccf5ac Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 18 Mar 2012 03:52:00 +0100 Subject: Save settings for PicturesWidget Remember selected node in PicturesWidget. --- mappingtreemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mappingtreemodel.h') 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 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); -- cgit v1.2.3-70-g09d2