Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include "track_drag_handler.h"
|
||||
#include <utility>
|
||||
|
||||
#include "track_content_widget.h"
|
||||
#include "track_entry.h"
|
||||
@@ -33,7 +34,7 @@ void DragHandler::dragEnterEvent(QDragEnterEvent *event)
|
||||
}
|
||||
else
|
||||
{
|
||||
for (const auto &tcw : qAsConst(m_tcwCorresponding))
|
||||
for (const auto &tcw : std::as_const(m_tcwCorresponding))
|
||||
tcw->dragEnter(tcw->selectedItemsToData(tcw->m_tools->getTime(m_dragStartPos.x())));
|
||||
}
|
||||
}
|
||||
@@ -53,7 +54,7 @@ void DragHandler::dragLeaveEvent(QDragLeaveEvent *event)
|
||||
if (m_tcw->isMultiLineMultiSelectionMode())
|
||||
{
|
||||
event->ignore();
|
||||
for (const auto &tcw : qAsConst(m_tcwCorresponding))
|
||||
for (const auto &tcw : std::as_const(m_tcwCorresponding))
|
||||
tcw->dragEnd();
|
||||
}
|
||||
|
||||
@@ -68,7 +69,7 @@ void DragHandler::dropEvent(QDropEvent *event)
|
||||
|
||||
|
||||
|
||||
for (const auto &tcw : qAsConst(m_tcwCorresponding))
|
||||
for (const auto &tcw : std::as_const(m_tcwCorresponding))
|
||||
{
|
||||
bool hasParallelTopicsOfSameType = TrackContentWidget::checkForParallelTopics(tcw, m_tcw->m_preview, dropTime);
|
||||
|
||||
|
||||
Reference in new issue
Block a user