From 6140cff1df2ccd7bd991f4b6ab5f174b8b9298d3 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 16 Nov 2012 18:32:24 +0100 Subject: 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) :) --- picfilesmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'picfilesmodel.cpp') diff --git a/picfilesmodel.cpp b/picfilesmodel.cpp index ae73258..e7768d6 100644 --- a/picfilesmodel.cpp +++ b/picfilesmodel.cpp @@ -174,7 +174,7 @@ QList PicFilesModel::mappingDataFromFiles(const QList 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; -- cgit v1.2.3-70-g09d2