mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +01:00
Fix mpris2's PlayPause method
This commit is contained in:
parent
6cebb8e629
commit
bab78c2b4f
@ -414,11 +414,7 @@ void Mpris2::Pause() {
|
||||
}
|
||||
|
||||
void Mpris2::PlayPause() {
|
||||
if(CanPause()) {
|
||||
player_->PlayPause();
|
||||
} else {
|
||||
// TODO: raise an error
|
||||
}
|
||||
player_->PlayPause();
|
||||
}
|
||||
|
||||
void Mpris2::Stop() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user