diff options
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index ffaefebd5f..68732adcbc 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -126,7 +126,6 @@ static void format_line(const struct playlist_entry* track, char* str, | |||
126 | 126 | ||
127 | static bool update_playlist(bool force); | 127 | static bool update_playlist(bool force); |
128 | static int onplay_menu(int index); | 128 | static int onplay_menu(int index); |
129 | static int save_playlist_func(void); | ||
130 | 129 | ||
131 | static void playlist_buffer_init(struct playlist_buffer *pb, char *names_buffer, | 130 | static void playlist_buffer_init(struct playlist_buffer *pb, char *names_buffer, |
132 | int names_buffer_size) | 131 | int names_buffer_size) |
@@ -437,9 +436,6 @@ static bool update_playlist(bool force) | |||
437 | return true; | 436 | return true; |
438 | } | 437 | } |
439 | 438 | ||
440 | MENUITEM_FUNCTION(save_playlist_item, 0, ID2P(LANG_SAVE_DYNAMIC_PLAYLIST), | ||
441 | save_playlist_func, 0, NULL, Icon_NOICON); | ||
442 | |||
443 | /* Menu of playlist commands. Invoked via ON+PLAY on main viewer screen. | 439 | /* Menu of playlist commands. Invoked via ON+PLAY on main viewer screen. |
444 | Returns -1 if USB attached, 0 if no playlist change, and 1 if playlist | 440 | Returns -1 if USB attached, 0 if no playlist change, and 1 if playlist |
445 | changed. */ | 441 | changed. */ |
@@ -521,13 +517,6 @@ static int onplay_menu(int index) | |||
521 | return ret; | 517 | return ret; |
522 | } | 518 | } |
523 | 519 | ||
524 | /* Save playlist to disk */ | ||
525 | static int save_playlist_func(void) | ||
526 | { | ||
527 | save_playlist_screen(viewer.playlist); | ||
528 | return 0; | ||
529 | } | ||
530 | |||
531 | /* View current playlist */ | 520 | /* View current playlist */ |
532 | enum playlist_viewer_result playlist_viewer(void) | 521 | enum playlist_viewer_result playlist_viewer(void) |
533 | { | 522 | { |