Skip to content

Commit

Permalink
Fix not setting correct id
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Feb 15, 2020
1 parent 1438bc1 commit aa6b009
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mainwindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aa6b009

Please sign in to comment.