Skip to content
/ mixxx Public
forked from mixxxdj/mixxx

Commit

Permalink
Show AutoDJ track count in sidebar also
Browse files Browse the repository at this point in the history
  • Loading branch information
ninomp committed Dec 21, 2022
1 parent 7cc0230 commit 1798e32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/autodj/autodjfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ QVariant AutoDJFeature::title() {
PlaylistSummary summary;
if (m_pTrackCollection->playlists().readAutoDJPlaylistSummary(&summary) &&
summary.getTrackCount() > 0) {
title.append(QString(" (%1)").arg(summary.getTrackDurationText()));
title.append(QString(" (%1) %2")
.arg(QString::number(summary.getTrackCount()),
summary.getTrackDurationText()));
}

return title;
Expand Down

0 comments on commit 1798e32

Please sign in to comment.