Adds immediate migration results in progress

This commit is contained in:
torsten committed 2026-08-19 11:18:24 +02:00
1 parent 8453e104c5
commit 3bb6e89496
2102 files changed
+17482 -15071

No files matched your search

@@ -339,12 +339,12 @@ QModelIndex TimelineModel::index(int row, int column, const QModelIndex &parent)
}
catch (const QString &msg)
{
DEBUG_LOG() << Q_FUNC_INFO << "cannot get parent track " << msg;
DEBUG_LOG(m_logger) << Q_FUNC_INFO << "cannot get parent track " << msg;
return {};
}
catch (const std::out_of_range &oor)
{
DEBUG_LOG() << Q_FUNC_INFO << "cannot get child track " << QString::fromUtf8(oor.what());
DEBUG_LOG(m_logger) << Q_FUNC_INFO << "cannot get child track " << QString::fromUtf8(oor.what());
return {};
}
@@ -455,7 +455,7 @@ QModelIndex TimelineModel::parent(const QModelIndex &index) const
}
catch (const QString &msg)
{
DEBUG_LOG() << Q_FUNC_INFO << "cannot get parent of track with id" << trackId << msg;
DEBUG_LOG(m_logger) << Q_FUNC_INFO << "cannot get parent of track with id" << trackId << msg;
return {};
}
@@ -473,13 +473,13 @@ QModelIndex TimelineModel::parent(const QModelIndex &index) const
}
catch (const QString &msg)
{
DEBUG_LOG() << Q_FUNC_INFO << "row of track for parent not found for parent id" << parentId << "-" << msg;
DEBUG_LOG(m_logger) << Q_FUNC_INFO << "row of track for parent not found for parent id" << parentId << "-" << msg;
return {};
}
}
catch (const QString &msg)
{
DEBUG_LOG() << Q_FUNC_INFO << "super parent not found for super parent id" << superParentId << "-" << msg;
DEBUG_LOG(m_logger) << Q_FUNC_INFO << "super parent not found for super parent id" << superParentId << "-" << msg;
return {};
}
@@ -722,11 +722,11 @@ void TimelineModel::setMinimumDuration(int duration)
{
if (duration < 0)
{
WARNING_LOG() << "negative duration is not possible -> setting minimum duration to 0";
WARNING_LOG(m_logger) << "negative duration is not possible -> setting minimum duration to 0";
duration = 0;
}
if (duration % 1000 && m_isSnapEnabled)
WARNING_LOG() << "Snapping to 1000ms enabled, yet minimum duration is not a multiple of 1000ms: " << duration;
WARNING_LOG(m_logger) << "Snapping to 1000ms enabled, yet minimum duration is not a multiple of 1000ms: " << duration;
m_minItemDuration = duration;
}
@@ -141,6 +141,7 @@ public:
int columnCount(const QModelIndex &) const override { return 2; }
protected:
NGL::INGLLogger &m_logger;
ItemPtrNCVRef _itemNCV(Track &track, int id) noexcept(false)
{
return track._itemNCV(id);
@@ -223,6 +224,7 @@ public slots:
virtual void onRemoveTrack(const QModelIndex &index) { Q_UNUSED(index); }
protected:
NGL::INGLLogger &m_logger;
TimelineView *m_view{nullptr};
Track m_rootTrack;
@@ -76,7 +76,7 @@ void TimelineView::setHeader(QHeaderView *header)
}
catch (...)
{
ERROR_LOG() << "header view should be of type TimelineHeaderView";
ERROR_LOG(m_logger) << "header view should be of type TimelineHeaderView";
}
}
@@ -125,7 +125,7 @@ void TimelineView::setItemDelegate(QAbstractItemDelegate *delegate)
}
catch (...)
{
ERROR_LOG() << "item delegate for TimelineView must be derived from ItemDelegate";
ERROR_LOG(m_logger) << "item delegate for TimelineView must be derived from ItemDelegate";
}
}
@@ -122,6 +122,7 @@ public:
bool isCursorWithinRangeY(int y) const;
protected:
NGL::INGLLogger &m_logger;
void dragEnterEvent(QDragEnterEvent *event) override;
void dragMoveEvent(QDragMoveEvent *event) override;
void dragLeaveEvent(QDragLeaveEvent *event) override;
@@ -89,6 +89,8 @@ public:
void hideDebugWidget();
private:
NGL::INGLLogger &m_logger;
void populateZoomFactorComboBox();
public: