diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-16 08:13:10 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-16 08:13:10 +0200 |
commit | 43ccedd6d8008831128dbbdab98a498e2647664b (patch) | |
tree | ed8713b107bbbf866aac40f1814c86800d14cc7f /src/playlist.cpp | |
parent | 48cf01f0848175d1ec4c417f3483a8be9e9da084 (diff) |
fix assertion failures in media library / playlist editor with separators enabled
Diffstat (limited to 'src/playlist.cpp')
-rw-r--r-- | src/playlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.cpp b/src/playlist.cpp index 44300451..38d24c2a 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -60,9 +60,9 @@ Playlist::Playlist() : itsTotalLength(0), itsRemainingTime(0), itsScrollBegin(0) w.setSelectedPrefix(Config.selected_item_prefix); w.setSelectedSuffix(Config.selected_item_suffix); if (Config.columns_in_playlist) - w.setItemDisplayer(std::bind(Display::SongsInColumns, _1, this)); + w.setItemDisplayer(std::bind(Display::SongsInColumns, _1, proxySongList())); else - w.setItemDisplayer(std::bind(Display::Songs, _1, this, Config.song_list_format)); + w.setItemDisplayer(std::bind(Display::Songs, _1, proxySongList(), Config.song_list_format)); } void Playlist::switchTo() |