summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-03-18 03:52:00 +0100
committerArno <am@disconnect.de>2012-03-18 03:52:00 +0100
commit6fc9473ea5b84702cc5f07bc405394bddfccf5ac (patch)
treea9154aa8dfaf9d076c24b75da39adec36c185888 /mappingtreemodel.h
parent6c97f7d9eef744ce1da03f4d203af2307b08f6eb (diff)
downloadSheMov-6fc9473ea5b84702cc5f07bc405394bddfccf5ac.tar.gz
SheMov-6fc9473ea5b84702cc5f07bc405394bddfccf5ac.tar.bz2
SheMov-6fc9473ea5b84702cc5f07bc405394bddfccf5ac.zip
Save settings for PicturesWidget
Remember selected node in PicturesWidget.
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);