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 "audio_settings_dialog.h"
#include <utility>
#include "ui_audio_settings_dialog.h"
#include "audio_settings_avail_streams_model.h"
#include "audio_settings_used_streams_model.h"
@@ -187,7 +188,7 @@ void AudioSettingsDialog::fillOperatorList()
{
QVector<StreamData> newStreamData;
for (const auto &rc : qAsConst(m_cnrTvcProfileMap))
for (const auto &rc : std::as_const(m_cnrTvcProfileMap))
{
if ((rc.exerciseId() != m_session->exerciseId())
|| (rc.operatorId() != m_ui->operatorComboBox->currentData().toInt()))
@@ -283,7 +284,7 @@ bool AudioSettingsDialog::applyRemove()
RemoveCnrTvcProfileRequest removeRequest;
DEBUG_LOG(m_logger) << "AudioSettingsDialog::applyRemove";
for (const auto &profile : qAsConst(m_cnrTvcProfileMap))
for (const auto &profile : std::as_const(m_cnrTvcProfileMap))
{
if (profile.operatorId() != m_operatorId)
continue;
@@ -306,7 +307,7 @@ bool AudioSettingsDialog::applyModify()
ModifyCnrTvcProfileRequest modifyRequest;
DEBUG_LOG(m_logger) << "AudioSettingsDialog::applyModify";
for (const auto &profile : qAsConst(m_cnrTvcProfileMap))
for (const auto &profile : std::as_const(m_cnrTvcProfileMap))
{
if (profile.operatorId() != m_operatorId)
continue;
@@ -78,7 +78,7 @@ NGL_TARGET_LINK_LIBRARIES(avmMenuEditGuiPlugin
ngltools
nglwidgets
OpmDataPluginInterface
Qt5::Widgets
Qt6::Widgets
TopicEditorBase
Boost::boost
)
@@ -2,6 +2,7 @@
#include "avm_sequence_model.h"
#include <utility>
#include <QJsonObject>
#include <QColor>
@@ -209,13 +210,13 @@ void AvmSequenceModel::setHighlightedRow(int highlighted, bool reset)
changedRows.reserve(oldSelected.size() + m_highlightedRows.size());
if (m_highlightedRows.isEmpty() || reset)
for (int row : qAsConst(oldSelected))
for (int row : std::as_const(oldSelected))
changedRows += row;
for (int row : qAsConst(m_highlightedRows))
for (int row : std::as_const(m_highlightedRows))
changedRows += row;
for (int row : qAsConst(changedRows))
for (int row : std::as_const(changedRows))
emit dataChanged(index(row, 0), index(row, Description), { Qt::BackgroundRole });
}
@@ -2,6 +2,7 @@
#include "topic_editor.h"
#include <utility>
#include "ui_topic_editor.h"
#include <AudioVideoManagement/av_helper.h>
@@ -620,7 +621,7 @@ void TopicEditor::onDeleteSequences()
if (rows.count() == 1)
curEditedRow = rows.first();
for (int row : qAsConst(rowIds))
for (int row : std::as_const(rowIds))
{
m_model->removeRow(row);
if (curEditedRow == row)
@@ -2,6 +2,7 @@
#include "avm_used_streams_model.h"
#include <utility>
#include "avm_available_streams_model.h"
#include <AudioVideoManagement/stream_name_mapping.h>
#include <nglwidgets/ngltreeitem.h>
@@ -474,7 +475,7 @@ QSet<int> UsedStreamsModel::fillTakenCameras(NGLTreeItem *getItem) const
{
QSet<int> ret;
const QVector<NGLTreeItem *> &children = getItem->children();
for (const auto &item : qAsConst(children))
for (const auto &item : std::as_const(children))
{
if (item->childCount())
ret += fillTakenCameras(item);