Skip to content

Commit

Permalink
Track: Fix missing synchronization time stamp on metadata import
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed May 15, 2021
1 parent 2cb6f7b commit 1a6a526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/library/dlgtrackinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ void DlgTrackInfo::slotImportMetadataFromFile() {
Track::newTemporary(std::move(fileAccess));
DEBUG_ASSERT(pTrack);
pTrack->replaceMetadataFromSource(
std::move(trackMetadata));
std::move(trackMetadata),
metadataSynchronized);
pTrack->setCoverInfo(
std::move(guessedCoverInfo));
populateFields(*pTrack);
Expand Down
2 changes: 1 addition & 1 deletion src/track/track.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class Track : public QObject {
/// with file tags, either by importing or exporting the metadata.
void replaceMetadataFromSource(
mixxx::TrackMetadata importedMetadata,
const QDateTime& metadataSynchronized = QDateTime());
const QDateTime& metadataSynchronized);

mixxx::TrackMetadata getMetadata(
bool* pMetadataSynchronized = nullptr) const;
Expand Down

0 comments on commit 1a6a526

Please sign in to comment.