summaryrefslogtreecommitdiffstats
path: root/picfilesmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'picfilesmodel.cpp')
-rw-r--r--picfilesmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/picfilesmodel.cpp b/picfilesmodel.cpp
index ae73258..e7768d6 100644
--- a/picfilesmodel.cpp
+++ b/picfilesmodel.cpp
@@ -174,7 +174,7 @@ QList<MappingData> PicFilesModel::mappingDataFromFiles(const QList<int> fileIds)
MappingData curData;
//curData.id = curIdx.data(MappingTreeModel::MyIdRole).toInt();
curData.mappingId = curIdx.data(MappingTreeModel::MappingIdRole).toInt();
- curData.parentId = curIdx.data(MappingTreeModel::ParentIdRole).toInt();
+ curData.parentId = curIdx.data(MappingTreeModel::MappingParentIdRole).toInt();
curData.name = curIdx.data(MappingTreeModel::NameRole).toString();
curData.path << mMappingTreeModel->path(curIdx); //.join("/");
retval << curData;