Fix minor code issues

This commit is contained in:
Jonas Kvinge
2019-09-15 20:27:32 +02:00
parent 83e10aac27
commit 2d67279180
147 changed files with 644 additions and 329 deletions

View File

@@ -373,6 +373,8 @@ void Playlist::MoodbarUpdated(const QModelIndex& index) {
bool Playlist::setData(const QModelIndex &index, const QVariant &value, int role) {
Q_UNUSED(role);
int row = index.row();
PlaylistItemPtr item = item_at(row);
Song song = item->Metadata();