-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only include real playlists to the playlist model
There are for example folder markers in the playlists returned by libspotify. We should only take into account those whose type is SP_PLAYLIST_TYPE_PLAYLIST. Also fixes the playlist model population: the indexes weren't handled quite correctly, they were confused with the starred tracks list. Fixed the PlaylistModel::insertRows(). It now works as intended by Qt. Removed needless members from PlaylistModel::Entry and added a constructor.
- Loading branch information
Aki Koskinen
committed
Jul 9, 2012
1 parent
20f91f9
commit 2d04e22
Showing
3 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters