summaryrefslogtreecommitdiff
path: root/src/playlist.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-16 08:13:10 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-16 08:13:10 +0200
commit43ccedd6d8008831128dbbdab98a498e2647664b (patch)
treeed8713b107bbbf866aac40f1814c86800d14cc7f /src/playlist.cpp
parent48cf01f0848175d1ec4c417f3483a8be9e9da084 (diff)
fix assertion failures in media library / playlist editor with separators enabled
Diffstat (limited to 'src/playlist.cpp')
-rw-r--r--src/playlist.cpp4
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()