Playlist: Add missing reference for Columns
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user