Remove now unused position override
It gets overridden later anyway
This commit is contained in:
parent
34858d0a6c
commit
36cb7c82f3
|
@ -152,19 +152,16 @@ Music::~Music() {
|
||||||
void Music::Refresh() {
|
void Music::Refresh() {
|
||||||
if (artist != musicService.getArtist()) {
|
if (artist != musicService.getArtist()) {
|
||||||
artist = musicService.getArtist();
|
artist = musicService.getArtist();
|
||||||
currentPosition = 0;
|
|
||||||
lv_label_set_text(txtArtist, artist.data());
|
lv_label_set_text(txtArtist, artist.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (track != musicService.getTrack()) {
|
if (track != musicService.getTrack()) {
|
||||||
track = musicService.getTrack();
|
track = musicService.getTrack();
|
||||||
currentPosition = 0;
|
|
||||||
lv_label_set_text(txtTrack, track.data());
|
lv_label_set_text(txtTrack, track.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (album != musicService.getAlbum()) {
|
if (album != musicService.getAlbum()) {
|
||||||
album = musicService.getAlbum();
|
album = musicService.getAlbum();
|
||||||
currentPosition = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (playing != musicService.isPlaying()) {
|
if (playing != musicService.isPlaying()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user