From f8e2f375656b5ed8e90a501aea4f6925fe7d7d5d Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Wed, 27 Feb 2013 20:50:43 -0500 Subject: Load user saved setting for blank timer on recovery startup Fix persistence of military time --- gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gui/gui.cpp') diff --git a/gui/gui.cpp b/gui/gui.cpp index 4788fe0df..f08d68be3 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -185,9 +185,12 @@ input_thread (void *cookie) 0, lshift = 0, rshift = 0, key_repeat = 0; static struct timeval touchStart; HardwareKeyboard kb; + string seconds; //start screen timeout threads blankTimer.setTimerThread(); + DataManager::GetValue("tw_screen_timeout_secs", seconds); + blankTimer.setTime(atoi(seconds.c_str())); for (;;) { -- cgit v1.2.3