summaryrefslogtreecommitdiffstats
path: root/picfilesmodel.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-11-16 18:32:24 +0100
committerArno <am@disconnect.de>2012-11-16 18:33:32 +0100
commit6140cff1df2ccd7bd991f4b6ab5f174b8b9298d3 (patch)
tree02a3205747e8369631d9b2dc3a1595ff61d253e1 /picfilesmodel.cpp
parent23e26321c6e98617c5188cf28fe8fd1a590d38a3 (diff)
downloadSheMov-6140cff1df2ccd7bd991f4b6ab5f174b8b9298d3.tar.gz
SheMov-6140cff1df2ccd7bd991f4b6ab5f174b8b9298d3.tar.bz2
SheMov-6140cff1df2ccd7bd991f4b6ab5f174b8b9298d3.zip
More renaming: mappings_parents
Rename: * drop table mappings_parents * rename mappings_parents2 to mapping_parents * drop the s after mapping on column names * rename FK imapping_id to idescription_id * rename ParentId(Role) to MappingParentId(Role) Well, it still works (tm) :)
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;