Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+2
-2
@@ -100,8 +100,8 @@ NGL_WRAP_UI(tln_view_gui_SRCS
|
||||
|
||||
NGL_ADD_LIBRARY(WS TlnViewGuiPlugin MODULE ${tln_view_gui_SRCS})
|
||||
NGL_TARGET_LINK_LIBRARIES(TlnViewGuiPlugin
|
||||
Qt5::Widgets
|
||||
Qt5::WebSockets
|
||||
Qt6::Widgets
|
||||
Qt6::WebSockets
|
||||
|
||||
LtsAppManager
|
||||
LtsDataView
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "attribute_value_lookup.h"
|
||||
#include <utility>
|
||||
|
||||
#include <AudioVideoManagement/avm_dtc.h>
|
||||
#include <AudioVideoManagement/stream_name_mapping.h>
|
||||
@@ -68,7 +69,7 @@ AttributeValueMap AvmChargeType::getAttributeValueMap(int eventType) const
|
||||
Q_ASSERT(!charges.isEmpty());
|
||||
|
||||
AttributeValueMap ret;
|
||||
for (const ChargeType &data : qAsConst(charges))
|
||||
for (const ChargeType &data : std::as_const(charges))
|
||||
ret.insert(data.id(), m_dtc->trChargeTypeShortName(data.id()));
|
||||
return ret;
|
||||
}
|
||||
|
||||
+5
-4
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "excon_filter.h"
|
||||
#include <utility>
|
||||
#include "tln_dialog_model.h"
|
||||
#include "detail_data.h"
|
||||
#include "logger.h"
|
||||
@@ -293,7 +294,7 @@ bool DDSTimelineModel::isCacheFull() const
|
||||
void DDSTimelineModel::_uncache(const CacheRange &cr)
|
||||
{
|
||||
|
||||
for (const LtsTimelineClassic::Event *event : qAsConst(cr.events))
|
||||
for (const LtsTimelineClassic::Event *event : std::as_const(cr.events))
|
||||
removeEvent(event->uniqueId());
|
||||
|
||||
rebuildTimelineKnownRanges();
|
||||
@@ -406,7 +407,7 @@ QVector<LtsTimelineClassic::Range> DDSTimelineModel::getKnownRanges() const
|
||||
QVector<LtsTimelineClassic::Range> knownRanges;
|
||||
knownRanges.reserve(m_cachedEvents.count() + 1);
|
||||
|
||||
for (const auto &i : qAsConst(m_cachedEvents))
|
||||
for (const auto &i : std::as_const(m_cachedEvents))
|
||||
{
|
||||
const CacheRange &cr = i.second;
|
||||
|
||||
@@ -799,7 +800,7 @@ void DDSTimelineModel::getAllEventsOfType(const QSet<int> &eventTypeIds)
|
||||
{
|
||||
LtsTimelineClassic::Event *eNew = i.next();
|
||||
|
||||
for (LtsTimelineClassic::Event *eOld : qAsConst(cr.events))
|
||||
for (LtsTimelineClassic::Event *eOld : std::as_const(cr.events))
|
||||
{
|
||||
if (eNew->uniqueId() == eOld->uniqueId())
|
||||
{
|
||||
@@ -908,7 +909,7 @@ void DDSTimelineModel::getEvents(qint64 rangeMin, qint64 rangeMax)
|
||||
int requestRangesCount = requestRanges.count();
|
||||
DEBUG_LOG(m_logger) << "requestRanges: " << requestRangesCount;
|
||||
|
||||
for (const auto &range : qAsConst(requestRanges))
|
||||
for (const auto &range : std::as_const(requestRanges))
|
||||
requestEvents(range);
|
||||
|
||||
if (requestRangesCount < 1)
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "tln_event_list_columns.h"
|
||||
#include <utility>
|
||||
#include "ui_tln_event_list_columns.h"
|
||||
#include "tln_event_list_model.h"
|
||||
|
||||
@@ -74,7 +75,7 @@ void EventListColumns::init()
|
||||
qDeleteAll(m_ui->itemLayoutWidget->findChildren<EventListColumn*>());
|
||||
|
||||
|
||||
for (const auto &ci : qAsConst(m_columns))
|
||||
for (const auto &ci : std::as_const(m_columns))
|
||||
{
|
||||
EventListColumn *rtcItem = new EventListColumn(ci);
|
||||
rtcItem->setObjectName(colObjectName(ci.logicalIndex));
|
||||
|
||||
Reference in new issue
Block a user