From aa6b009cdd09dc1b8f073d63915b9e67bac982ea Mon Sep 17 00:00:00 2001 From: kraxarn Date: Sat, 15 Feb 2020 01:31:37 +0100 Subject: [PATCH] Fix not setting correct id --- mainwindow.go | 1 - 1 file changed, 1 deletion(-) diff --git a/mainwindow.go b/mainwindow.go index 316d157d2..2f4bbecfe 100644 --- a/mainwindow.go +++ b/mainwindow.go @@ -345,7 +345,6 @@ func (mw *MainWindow) LoadPlaylist(playlist SpotifyPlaylist) error { " ", t.Name(), t.Artist(), t.Album(), fmt.Sprintf("%.f:%02d", duration.Minutes(), int(duration.Seconds()) % 60), }, 0) - item.SetData(0, 1, core.NewQVariant1(fmt.Sprintf("spotify:track:%v", t.ID()))) item.SetData(0, 0x0100, core.NewQVariant1(fmt.Sprintf("spotify:track:%v", t.ID()))) if t.IsLocal { item.SetDisabled(true)