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

@@ -7,6 +7,7 @@
*/
#include "handler_gas_pipe.h"
#include <utility>
#include "object_gas_pipe.h"
#include <QTimer>
#include "Utils/polygons.h"
@@ -50,13 +51,13 @@ bool HandlerGasPipe::init()
// contains all segments of an gasPipe in ascending order
QVector<Database::AesGasPipeSegment> dbGasPipeSegments;
for (const Database::AesGasPipe &dbGasPipe : qAsConst(gasPipeVec))
for (const Database::AesGasPipe &dbGasPipe : std::as_const(gasPipeVec))
{
if (dbGasPipe.effectStateId == AesEffectState_def::EsRemoved)
continue;
dbGasPipeSegments.clear();
for (const Database::AesGasPipeSegment &segment : qAsConst(segmentVec))
for (const Database::AesGasPipeSegment &segment : std::as_const(segmentVec))
{
if (segment.gasPipeId == dbGasPipe.privGasPipeId)
dbGasPipeSegments.insert(segment.positionIndex, segment);