Fix mpris2's PlayPause method

This commit is contained in:
David Sansome 2011-02-22 20:13:02 +00:00
parent 6cebb8e629
commit bab78c2b4f
1 changed files with 1 additions and 5 deletions

View File

@ -414,11 +414,7 @@ void Mpris2::Pause() {
} }
void Mpris2::PlayPause() { void Mpris2::PlayPause() {
if(CanPause()) { player_->PlayPause();
player_->PlayPause();
} else {
// TODO: raise an error
}
} }
void Mpris2::Stop() { void Mpris2::Stop() {