diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/track/serato/markers2.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/track/serato/markers2.cpp b/src/track/serato/markers2.cpp index ac27f02490..95a4d107bc 100644 --- a/src/track/serato/markers2.cpp +++ b/src/track/serato/markers2.cpp @@ -618,7 +618,8 @@ QList<CueInfo> SeratoMarkers2::getCues() const { std::nullopt, pCueEntry->getIndex(), pCueEntry->getLabel(), - pCueEntry->getColor()); + pCueEntry->getColor(), + CueFlag::None); cueInfos.append(cueInfo); } @@ -640,7 +641,8 @@ QList<CueInfo> SeratoMarkers2::getCues() const { pLoopEntry->getEndPosition(), pLoopEntry->getIndex(), pLoopEntry->getLabel(), - std::nullopt); // Serato's Loops don't have a color + std::nullopt, // Serato's Loops don't have a color + pLoopEntry->isLocked() ? CueFlag::Locked : CueFlag::None); // TODO: Add support for "locked" loops cueInfos.append(loopInfo); } @@ -716,7 +718,7 @@ void SeratoMarkers2::setCues(const QList<CueInfo>& cueInfos) { *cueInfo.getStartPositionMillis(), *cueInfo.getEndPositionMillis(), SeratoTags::kFixedLoopColor, - false, + cueInfo.flags().testFlag(CueFlag::Locked), cueInfo.getLabel()); newEntries.append(pEntry); } |