summaryrefslogtreecommitdiff
path: root/src/sort_playlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sort_playlist.cpp')
-rw-r--r--src/sort_playlist.cpp26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/sort_playlist.cpp b/src/sort_playlist.cpp
index bada7963..58eba3f3 100644
--- a/src/sort_playlist.cpp
+++ b/src/sort_playlist.cpp
@@ -18,8 +18,6 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <boost/bind.hpp>
-
#include "charset.h"
#include "display.h"
#include "global.h"
@@ -50,41 +48,41 @@ SortPlaylistDialog::SortPlaylistDialog()
});
w.addItem(Entry(std::make_pair("Artist", &MPD::Song::getArtist),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Album", &MPD::Song::getAlbum),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Disc", &MPD::Song::getDisc),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Track", &MPD::Song::getTrack),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Genre", &MPD::Song::getGenre),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Date", &MPD::Song::getDate),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Composer", &MPD::Song::getComposer),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Performer", &MPD::Song::getPerformer),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Title", &MPD::Song::getTitle),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Filename", &MPD::Song::getURI),
- boost::bind(&Self::moveSortOrderHint, this)
+ std::bind(&Self::moveSortOrderHint, this)
));
w.addSeparator();
w.addItem(Entry(std::make_pair("Sort", static_cast<MPD::Song::GetFunction>(0)),
- boost::bind(&Self::sort, this)
+ std::bind(&Self::sort, this)
));
w.addItem(Entry(std::make_pair("Cancel", static_cast<MPD::Song::GetFunction>(0)),
- boost::bind(&Self::cancel, this)
+ std::bind(&Self::cancel, this)
));
}