[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/juk
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2004-02-29 22:15:27
Message-ID: 20040229221527.CE38B9953 () office ! kde ! org
[Download RAW message or body]

CVS commit by wheeler: 

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


  M +1 -1      playlistsplitter.cpp   1.154


--- kdemultimedia/juk/playlistsplitter.cpp  #1.153:1.154
@@ -193,6 +193,6 @@ 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) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic