Adds immediate migration results in progress
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user