diff options
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 473f0a4d75..fc91b9abb2 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -1009,29 +1009,6 @@ long gui_wps_show(void) | |||
1009 | restore = true; | 1009 | restore = true; |
1010 | } | 1010 | } |
1011 | break; | 1011 | break; |
1012 | #ifdef HAVE_TOUCHSCREEN | ||
1013 | case ACTION_TOUCH_SHUFFLE: /* toggle shuffle mode */ | ||
1014 | { | ||
1015 | global_settings.playlist_shuffle = | ||
1016 | !global_settings.playlist_shuffle; | ||
1017 | #if CONFIG_CODEC == SWCODEC | ||
1018 | dsp_set_replaygain(); | ||
1019 | #endif | ||
1020 | if (global_settings.playlist_shuffle) | ||
1021 | playlist_randomise(NULL, current_tick, true); | ||
1022 | else | ||
1023 | playlist_sort(NULL, true); | ||
1024 | } | ||
1025 | break; | ||
1026 | case ACTION_TOUCH_REPMODE: /* cycle the repeat mode setting */ | ||
1027 | { | ||
1028 | const struct settings_list *rep_setting = | ||
1029 | find_setting(&global_settings.repeat_mode, NULL); | ||
1030 | option_select_next_val(rep_setting, false, true); | ||
1031 | audio_flush_and_reload_tracks(); | ||
1032 | } | ||
1033 | break; | ||
1034 | #endif /* HAVE_TOUCHSCREEN */ | ||
1035 | /* this case is used by the softlock feature | 1012 | /* this case is used by the softlock feature |
1036 | * it requests a full update here */ | 1013 | * it requests a full update here */ |
1037 | case ACTION_REDRAW: | 1014 | case ACTION_REDRAW: |