diff gui/util/list.h @ 34669:697aaedfe59e

Remove global variable pointing to playlist item last played. The variable and the condition it is used for are pointless, because it isn't possible to insert an playlist item before the current one without rebuilding the whole list which would invalidate this pointer.
author ib
date Wed, 22 Feb 2012 13:27:42 +0000
parents 00e8aecfa7ff
children 42fa91951bd2
line wrap: on
line diff
--- a/gui/util/list.h	Wed Feb 22 10:53:00 2012 +0000
+++ b/gui/util/list.h	Wed Feb 22 13:27:42 2012 +0000
@@ -46,8 +46,6 @@
     struct urlItem *next;
 } urlItem;
 
-extern plItem *plLastPlayed;
-
 /// @name list manager (playlist, URL list)
 void *listMgr(int cmd, void *data);