From 42e167fda497736558fb3f34bb57aab4a51201fb Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 5 Jun 2011 10:54:29 +0000 Subject: [PATCH] lcdd: set has_lcd = false to hide useless LCD settings menu git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1516 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/lcdd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/driver/lcdd.cpp b/src/driver/lcdd.cpp index 3ca2d1bba..2692bdac4 100644 --- a/src/driver/lcdd.cpp +++ b/src/driver/lcdd.cpp @@ -72,7 +72,11 @@ CLCD::CLCD() percentOver = 0; volume = 0; timeout_cnt = 0; - has_lcd = true; + /* this is a hack: the only place where this is checked is the menu to decide + * if display settings are to be applied. + * we have nothing to configure anyway, so setting has_lcd = false hides that menu. + */ + has_lcd = false; clearClock = 0; }