Playlist: Add missing reference for Columns

This commit is contained in:
Jonas Kvinge 2024-08-25 06:24:55 +02:00
parent e75698ee9a
commit 148ae530d8
2 changed files with 2 additions and 2 deletions

View File

@ -2274,7 +2274,7 @@ void Playlist::UpdateItemMetadata(const int row, PlaylistItemPtr item, const Son
}
void Playlist::ItemChanged(const int row, const Columns columns) {
void Playlist::ItemChanged(const int row, const Columns &columns) {
if (columns.count() > 5) {
const QModelIndex idx_column_first = index(row, 0);

View File

@ -265,7 +265,7 @@ class Playlist : public QAbstractListModel {
static bool MinorMetadataChange(const Song &old_metadata, const Song &new_metadata);
void UpdateItemMetadata(PlaylistItemPtr item, const Song &new_metadata, const bool temporary);
void UpdateItemMetadata(const int row, PlaylistItemPtr item, const Song &new_metadata, const bool temporary);
void ItemChanged(const int row, const Columns columns);
void ItemChanged(const int row, const Columns &columns);
// Changes rating of a song to the given value asynchronously
void RateSong(const QModelIndex &idx, const float rating);