proxy song list: remove highlight

This commit is contained in:
Andrzej Rybczak
2014-11-01 15:38:41 +01:00
parent 42dce36625
commit 9cbcf61fac
2 changed files with 4 additions and 7 deletions

View File

@@ -381,11 +381,11 @@ void ScrollUpArtist::run()
std::string artist = s->getArtist();
while (pos > 0)
{
myScreen->scroll(NC::Scroll::Up);
s = pl.getSong(--pos);
if (!s || s->getArtist() != artist)
break;
}
pl.highlight(pos);
}
}
@@ -406,11 +406,11 @@ void ScrollUpAlbum::run()
std::string album = s->getAlbum();
while (pos > 0)
{
myScreen->scroll(NC::Scroll::Up);
s = pl.getSong(--pos);
if (!s || s->getAlbum() != album)
break;
}
pl.highlight(pos);
}
}
@@ -431,11 +431,11 @@ void ScrollDownArtist::run()
std::string artist = s->getArtist();
while (pos < pl.size() - 1)
{
myScreen->scroll(NC::Scroll::Down);
s = pl.getSong(++pos);
if (!s || s->getArtist() != artist)
break;
}
pl.highlight(pos);
}
}
@@ -456,11 +456,11 @@ void ScrollDownAlbum::run()
std::string album = s->getAlbum();
while (pos < pl.size() - 1)
{
myScreen->scroll(NC::Scroll::Down);
s = pl.getSong(++pos);
if (!s || s->getAlbum() != album)
break;
}
pl.highlight(pos);
}
}