From 856119c5a43b4781b051b93a0713c152cfd99f85 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 15 Apr 2022 13:27:34 +0200 Subject: 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... --- mappingtreemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mappingtreemodel.cpp') 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(); -- cgit v1.2.3-70-g09d2