Adds immediate migration results

This commit is contained in:
torsten committed 2026-08-18 22:12:24 +02:00
1 parent ba4121728b
commit 6a2a0667ab
2395 files changed
+357322 -2524

No files matched your search

@@ -2,6 +2,7 @@
#include "ism_overview_dialog_model.h"
#include <utility>
#include <InfrastructureManagement/Shared/ism_mounting_point.h>
#include <InfrastructureManagement/ism_translation.h>
@@ -172,7 +173,7 @@ bool OverviewDialogModel::initData()
setNewData();
for ( int mppId : qAsConst(m_conflictedStructureElementIds))
for ( int mppId : std::as_const(m_conflictedStructureElementIds))
DEBUG_LOG(m_logger) << "Conflicted structure element id = " << mppId;
TRACE_LOG(m_logger) << LOGFUNCTION << " END";
@@ -196,7 +197,7 @@ MountingPointType OverviewDialogModel::getMountingPointTypeId(int structureEleme
bool OverviewDialogModel::hasMountedAsset(int seId)
{
for (const InfrastructureManagement::MountingPointAsset &asset : qAsConst(m_mountingPointAssets))
for (const InfrastructureManagement::MountingPointAsset &asset : std::as_const(m_mountingPointAssets))
{
if (asset.structureElementId() == seId)
return true;
@@ -285,7 +286,7 @@ void OverviewDialogModel::setNewData()
m_conflictedStructureElementIds.clear();
for (int id : qAsConst(m_refMap))
for (int id : std::as_const(m_refMap))
{
m_vecData[id] = RowData(m_vecData[id].mpt);
@@ -418,7 +419,7 @@ void OverviewDialogModel::setNewData()
for (auto id : qAsConst(m_refMap))
for (auto id : std::as_const(m_refMap))
{
auto &rowData = m_vecData[id];
@@ -2,6 +2,7 @@
#include "ism_overview_mounting_point_list_model.h"
#include <utility>
#include <InfrastructureManagement/ism_translation.h>
@@ -206,7 +207,7 @@ void ViewMountingPointListModel::initData()
{
const InfrastructureManagement::MainSchedule &currentSchedule = m_dtc->mainSchedule(m_scheduleId);
for (const MountingPointPlan &mpp : qAsConst(currentSchedule.elements()))
for (const MountingPointPlan &mpp : std::as_const(currentSchedule.elements()))
mountingPointPlanCont.insert(mpp.structureElementId(), mpp);
}