gui/pictureviewer_setup, gui/audioplayer_setup: use CMenuOptionNumberChooser instead of CStringInput

This commit is contained in:
martii
2013-12-22 12:40:15 +01:00
committed by Jacek Jendrzej
parent b69bdc38d9
commit da0142eb0d
9 changed files with 21 additions and 21 deletions

View File

@@ -375,7 +375,7 @@ int CAudioPlayerGui::show()
if ( msg == CRCInput::RC_timeout || msg == NeutrinoMessages::EVT_TIMER)
{
int timeout = time(NULL) - m_idletime;
int screensaver_timeout = atoi(g_settings.audioplayer_screensaver);
int screensaver_timeout = g_settings.audioplayer_screensaver;
if (screensaver_timeout !=0 && timeout > screensaver_timeout*60 && !m_screensaver)
screensaver(true);