From ad7bb42fc6dca0a5b01b8a3a5f3a52ada1d0768e Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Wed, 22 May 2013 07:44:27 +0200 Subject: [PATCH] * CAudioPlayerGui: Fix display mute icon --- src/gui/audioplayer.cpp | 2 +- src/gui/pictureviewer.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 8f2077a9e..d83e16f91 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -1641,7 +1641,7 @@ void CAudioPlayerGui::paintItem(int pos) void CAudioPlayerGui::paintHead() { - if (!m_show_playlist) + if (!m_show_playlist || m_screensaver) return; int c_rad_mid = RADIUS_MID; diff --git a/src/gui/pictureviewer.cpp b/src/gui/pictureviewer.cpp index 5830d25cd..ad651cae3 100644 --- a/src/gui/pictureviewer.cpp +++ b/src/gui/pictureviewer.cpp @@ -621,7 +621,8 @@ int CPictureViewerGui::show() } hide(); - CAudioMute::getInstance()->enableMuteIcon(true); + if (!audioplayer) + CAudioMute::getInstance()->enableMuteIcon(true); return(res); }