Playlist: Add missing reference for Columns
This commit is contained in:
parent
e75698ee9a
commit
148ae530d8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue