Commit ab0b4285 authored by Scott Wheeler's avatar Scott Wheeler

Made the "playing" indicator go away from the last item in the playlist

when the playlist finishes playing.

svn path=/trunk/kdemultimedia/juk/; revision=181916
parent 64030da8
......@@ -326,13 +326,17 @@ void JuK::pollPlay()
{
noSeek = true;
if(!player.playing()) {
playTimer->stop();
if(player.paused())
pauseFile();
else if(playingItem) {
PlaylistItem *next = Playlist::nextItem(playingItem, randomPlayAction->isChecked());
playingItem->setPixmap(0, 0);
if(next) {
playingItem->setPixmap(0, 0);
playingItem = next;
sliderAction->getTrackPositionSlider()->setValue(0);
player.play(playingItem->absFilePath(), player.getVolume());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment