mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-07 15:52:11 +01:00
Removing trackSkipped when stopping: even if Amarok wasn't acting like this, in my opinion, a 'stopped' track should not be considered as 'skipped'
This commit is contained in:
parent
3218e08118
commit
ccd26b4002
@ -260,9 +260,6 @@ void Player::PlayPause() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Player::Stop() {
|
void Player::Stop() {
|
||||||
if (engine_->position() != engine_->length()) {
|
|
||||||
emit TrackSkipped(current_item_);
|
|
||||||
}
|
|
||||||
engine_->Stop();
|
engine_->Stop();
|
||||||
playlists_->active()->set_current_row(-1);
|
playlists_->active()->set_current_row(-1);
|
||||||
current_item_.reset();
|
current_item_.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user