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 "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)