Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+2
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "AbstractTimelineModel.h"
|
||||
#include <utility>
|
||||
|
||||
#include <NGLLogger/NGLLoggerBootstrap.h>
|
||||
|
||||
@@ -107,7 +108,7 @@ void AbstractTimelineModel::addEvent(Event *event)
|
||||
Item *currentItem = m_rootItem;
|
||||
QModelIndex currentIndex = QModelIndex();
|
||||
|
||||
for (const QString &curPath : qAsConst(actuatorPath))
|
||||
for (const QString &curPath : std::as_const(actuatorPath))
|
||||
{
|
||||
Item *oldItem = currentItem;
|
||||
const ItemList *itemList = currentItem->getChildren();
|
||||
|
||||
@@ -56,9 +56,9 @@ NGL_TARGET_LINK_LIBRARIES(LtsTimelineClassic
|
||||
PRIVATE
|
||||
NGLLogger
|
||||
ngltools # DTG
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
Qt5::Widgets
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::Widgets
|
||||
LtsSessionDataDds
|
||||
)
|
||||
|
||||
@@ -68,9 +68,9 @@ IF(NEVER)
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsTimelineClassicTest
|
||||
nglapplication
|
||||
NGLLogger
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
Qt5::Widgets
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::Widgets
|
||||
LtsTimelineClassic
|
||||
svcEemCommon
|
||||
svcEemClient
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
#include "EventGraphic.h"
|
||||
#include <utility>
|
||||
|
||||
#include <QPainter>
|
||||
#include <QPen>
|
||||
@@ -59,7 +60,7 @@ qint64 EventGraphic::getDuration()
|
||||
qint64 highestDuration = 0;
|
||||
qint64 lowest = lowestTime();
|
||||
|
||||
for (Event *event : qAsConst(m_eventList))
|
||||
for (Event *event : std::as_const(m_eventList))
|
||||
{
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include <QDebug>
|
||||
#include <utility>
|
||||
|
||||
#include "Item.h"
|
||||
#include "EventTools.h"
|
||||
@@ -215,7 +216,7 @@ EventList Item::getFullEventList(bool recursive, bool getHiddenEvents) const
|
||||
if (!m_children || !recursive)
|
||||
return el;
|
||||
|
||||
for (const Item *item : qAsConst(*m_children))
|
||||
for (const Item *item : std::as_const(*m_children))
|
||||
el += item->getFullEventList(recursive, getHiddenEvents);
|
||||
|
||||
return el;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "TimelineView.h"
|
||||
#include <utility>
|
||||
#include "TimelineHeaderView.h"
|
||||
#include "TimelineWidget.h"
|
||||
#include "EventDelegate.h"
|
||||
@@ -335,7 +336,7 @@ void TimelineView::paintEvent(QPaintEvent *event)
|
||||
painter.setBrush(QBrush("white"));
|
||||
int h = height();
|
||||
|
||||
for (const auto &range : qAsConst(m_knownRanges))
|
||||
for (const auto &range : std::as_const(m_knownRanges))
|
||||
{
|
||||
int start = EventTools::getEventPosition(range.start);
|
||||
|
||||
|
||||
Reference in new issue
Block a user