summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.h2
-rw-r--r--apps/settings_list.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 5ac40fc..6487d98 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -727,10 +727,12 @@ struct user_settings
#endif
unsigned char playlist_catalog_dir[MAX_FILENAME+1];
+#ifdef HAVE_QUICKSCREEN
unsigned char quickscreen_left[MAX_FILENAME+1];
unsigned char quickscreen_right[MAX_FILENAME+1];
unsigned char quickscreen_top[MAX_FILENAME+1];
unsigned char quickscreen_bottom[MAX_FILENAME+1];
+#endif
};
/** global variables **/
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 478bc63..57261d5 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1189,6 +1189,7 @@ const struct settings_list settings[] = {
#endif /* CONFIG_CODEC == SWCODEC */
FILENAME_SETTING(0, playlist_catalog_dir, "playlist catalog directory",
PLAYLIST_CATALOG_DEFAULT_DIR, NULL, NULL, MAX_FILENAME+1),
+#ifdef HAVE_QUICKSCREEN
FILENAME_SETTING(0, quickscreen_left, "quickscreen left",
"shuffle", NULL, NULL, MAX_FILENAME+1),
FILENAME_SETTING(0, quickscreen_right, "quickscreen right",
@@ -1196,7 +1197,8 @@ const struct settings_list settings[] = {
FILENAME_SETTING(0, quickscreen_top, "quickscreen top",
"", NULL, NULL, MAX_FILENAME+1),
FILENAME_SETTING(0, quickscreen_bottom, "quickscreen bottom",
- "show files", NULL, NULL, MAX_FILENAME+1),
+ "show files", NULL, NULL, MAX_FILENAME+1),
+#endif
};
const int nb_settings = sizeof(settings)/sizeof(*settings);