mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-05 12:56:52 +01:00
Player: Reverse if
This commit is contained in:
parent
88854eb558
commit
52139fbaa0
@ -602,7 +602,7 @@ void Player::PreviousItem(const Engine::TrackChangeFlags change) {
|
|||||||
|
|
||||||
void Player::EngineStateChanged(const Engine::State state) {
|
void Player::EngineStateChanged(const Engine::State state) {
|
||||||
|
|
||||||
if (Engine::Error == state) {
|
if (state == Engine::Error) {
|
||||||
nb_errors_received_++;
|
nb_errors_received_++;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user