Commit 4c921c19 authored by Scott Wheeler's avatar Scott Wheeler

Make "back" work properly again if random play is turned on.

svn path=/trunk/kdemultimedia/juk/; revision=302278
parent c0575937
......@@ -230,8 +230,9 @@ FileHandle PlaylistSplitter::previousFile()
return FileHandle::null();
bool random = action("randomPlay") && action<KToggleAction>("randomPlay")->isChecked();
Playlist *p = m_playingItem->playlist();
PlaylistItem *i = p->previousItem(m_playingItem, false);
PlaylistItem *i = p->previousItem(m_playingItem, random);
return play(i);
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