1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

fixing compilation of remote control

This commit is contained in:
Paweł Bara 2011-04-28 22:31:58 +00:00
parent b20d280156
commit b0688a2aa7

View File

@ -126,8 +126,7 @@ xrme::State Remote::state() const {
const PlaylistItemPtr current_item = player_->GetCurrentItem();
xrme::State ret;
ret.can_go_next = active->next_row() != -1 ||
active->current_item_options() & PlaylistItem::ContainsMultipleTracks;
ret.can_go_next = active->next_row() != -1;
ret.can_go_previous = active->previous_row() != -1;
ret.can_seek = current_item && !current_item->Metadata().is_stream();