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:
parent
b20d280156
commit
b0688a2aa7
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user