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

List:       kde-commits
Subject:    kdemultimedia/noatun/modules/splitplaylist
From:       Charles Samuels <charles () kde ! org>
Date:       2004-10-04 8:56:51
Message-ID: 20041004085651.AF6AD998A () office ! kde ! org
[Download RAW message or body]

CVS commit by charles: 

fix 65834: Last item in playlist is always played, regardless of selection.

The behavior is now correct.

CCMAIL:65834-done@bugs.kde.org


  M +3 -1      playlist.cpp   1.51
  M +1 -1      view.cpp   1.143


--- kdemultimedia/noatun/modules/splitplaylist/playlist.cpp  #1.50:1.51
@@ -81,5 +81,7 @@ PlaylistItem SplitPlaylist::next(bool pl
 
         if (!nextItem) // don't set a null-item as current item
-                return 0;
+        {
+                nextItem = \
static_cast<SafeListViewItem*>(static_cast<SafeListViewItem*>(getFirst().data())); +  \
}  
         PlaylistItem oldCurrent = currentItem;

--- kdemultimedia/noatun/modules/splitplaylist/view.cpp  #1.142:1.143
@@ -1,4 +1,4 @@
 /**
- * Copyright (c) 2000-2001 Charles Samuels <charles@kde.org>
+ * Copyright (c) 2000-2004 Charles Samuels <charles@kde.org>
  *               2000-2001 Neil Stevens <neil@qualityassistant.com>
  *


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

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