summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2022-04-15 13:27:34 +0200
committerArno <arno@disconnect.de>2022-04-15 13:27:34 +0200
commit856119c5a43b4781b051b93a0713c152cfd99f85 (patch)
tree4e2fde4e7a76179cc243e0665091c6ad429ea640 /mappingtreemodel.cpp
parent62d3ca1482b202d2883eeb5e17e72300e8612477 (diff)
downloadSheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.gz
SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.bz2
SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.zip
Make it run with Qt6
This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store...
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 4f253c5..f88da64 100644
--- a/mappingtreemodel.cpp
+++ b/mappingtreemodel.cpp
@@ -205,7 +205,7 @@ bool MappingTreeModel::deleteChild(const QModelIndex &idx){
return false;
}
-MappingData MappingTreeModel::mappingDataFromItem(SmTreeItem *item) const{
+const MappingData MappingTreeModel::mappingDataFromItem(SmTreeItem *item) const{
MappingData retval;
retval.mappingId = item->data(MappingTreeModel::MappingId).toInt();
retval.descId = item->data(MappingTreeModel::DescId).toInt();