From e21440a6b7c22a5feb81e5e6afb6d82ce6a44d8b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 28 Jun 2017 11:29:03 +0200 Subject: [PATCH] audioplayer: reset idle time to avoid screensaver ... when returning from filebrowser Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d4f366c0dd9ab7f997a7c4f85948168ccf80f4ad Author: vanhofen Date: 2017-06-28 (Wed, 28 Jun 2017) Origin message was: ------------------ - audioplayer: reset idle time to avoid screensaver ... when returning from filebrowser --- src/gui/audioplayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 4549fc3ff..df9b4a319 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -1495,6 +1495,7 @@ bool CAudioPlayerGui::openFilebrowser(void) result = true; } + m_idletime = time(NULL); CVFD::getInstance()->setMode(CVFD::MODE_AUDIO); paintLCD(); // if playlist is turned off -> start playing immediately