summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.cpp
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.cpp
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.cpp')
-rw-r--r--mappingtreemodel.cpp2
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();