From d099b5d5f922e6773ad5c5165e951fc280c5c5c1 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 26 Feb 2013 18:36:51 +0100 Subject: Usage of menu icons in main and setup menu configurable --- displaymenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'displaymenu.c') diff --git a/displaymenu.c b/displaymenu.c index 78c60da..59730e4 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -533,7 +533,8 @@ void cNopacityDisplayMenu::SetItem(const char *Text, int Index, bool Current, bo item = new cNopacityMainMenuItem(osd, Text, Selectable); menuView->GetMenuItemSize(mcMain, &itemSize); item->SetFont(menuView->GetMenuItemFont(mcMain)); - hasIcons = true; + if (config.useMenuIcons) + hasIcons = true; } else { item = new cNopacityDefaultMenuItem(osd, Text, Selectable); menuView->GetMenuItemSize(mcUnknown, &itemSize); -- cgit v1.2.3