From 6e828fa0a4a96a51b36367a47ad254b81f7fff59 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 19 Feb 2013 00:11:12 +0100 Subject: [PATCH] - audioplayer.cpp: restore correct background when leaving screensaver and remove background-pic from screensaver-loop --- src/gui/audioplayer.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 13f2184df..bded5bdfc 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -420,8 +420,6 @@ int CAudioPlayerGui::show() videoDecoder->ShowPicture(fname); } else if (pic_index) { pic_index = 0; - videoDecoder->StopPicture(); - videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg"); } } else pic_index = 0; @@ -2330,11 +2328,8 @@ void CAudioPlayerGui::screensaver(bool on) { g_RCInput->killTimer(stimer); m_screensaver = false; -#if 0 - m_frameBuffer->loadPal("radiomode.pal", 18, COL_MAXFREE); - m_frameBuffer->useBackground(m_frameBuffer->loadBackground(NEUTRINO_ICON_RADIOMODE));// set useBackground true or false - m_frameBuffer->paintBackground(); -#endif + videoDecoder->StopPicture(); + videoDecoder->ShowPicture(DATADIR "/neutrino/icons/mp3.jpg"); paint(); m_idletime = time(NULL); }