Commit e2eceaa5 authored by Scott Wheeler's avatar Scott Wheeler

Check to see if we're in random play mode.

svn path=/trunk/kdemultimedia/juk/; revision=292670
parent efe46cbb
......@@ -192,8 +192,8 @@ QString PlaylistSplitter::nextFile()
QString PlaylistSplitter::currentFile()
{
PlaylistItem *i = 0;
const bool random = false; // TODO: should check this
bool random = action("randomPlay") && action<KToggleAction>("randomPlay")->isChecked();
if(m_nextPlaylistItem && m_nextPlaylistItem != m_playingItem) {
i = m_nextPlaylistItem;
......
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