summaryrefslogtreecommitdiff
path: root/apps/gui/quickscreen.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-03-28 00:38:30 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-03-28 10:56:12 +0200
commit6f622262948f42886a3f7e602a3b6aa2bb1c6e44 (patch)
tree471905bae06f6b514a97abd74d7dbcad1be1e043 /apps/gui/quickscreen.c
parent7ec426e497daa1b4a6082bf4e4e3df687b11db44 (diff)
downloadrockbox-6f622262948f42886a3f7e602a3b6aa2bb1c6e44.zip
rockbox-6f622262948f42886a3f7e602a3b6aa2bb1c6e44.tar.gz
rockbox-6f622262948f42886a3f7e602a3b6aa2bb1c6e44.tar.bz2
rockbox-6f622262948f42886a3f7e602a3b6aa2bb1c6e44.tar.xz
quickscreen: optionally display the shortcuts menu instead of the QS
Adds an option under settings > general settings > system to allow the user to have the shortcuts menu displayed instead of the quick screen. (option is "shortcuts instead of quickscreen" in the .cfg) Change-Id: Id679b461c40ac617629422736d1509384364084d Reviewed-on: http://gerrit.rockbox.org/199 Reviewed-by: Marek Salaba <marek.salaba@gmail.com> Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Diffstat (limited to 'apps/gui/quickscreen.c')
-rw-r--r--apps/gui/quickscreen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c
index acef2c3..965fe67 100644
--- a/apps/gui/quickscreen.c
+++ b/apps/gui/quickscreen.c
@@ -38,6 +38,7 @@
#include "list.h"
#include "option_select.h"
#include "debug.h"
+#include "shortcuts.h"
/* 1 top, 1 bottom, 2 on either side, 1 for the icons
* if enough space, top and bottom have 2 lines */
@@ -391,6 +392,9 @@ bool quick_screen_quick(int button_enter)
bool oldshuffle = global_settings.playlist_shuffle;
int oldrepeat = global_settings.repeat_mode;
+ if (global_settings.shortcuts_replaces_qs)
+ return do_shortcut_menu(NULL);
+
qs.items[QUICKSCREEN_TOP] =
get_setting(global_settings.qs_items[QUICKSCREEN_TOP], NULL);
qs.items[QUICKSCREEN_LEFT] =