From 6412b32182ac5693abf3db6761a00256a0b0d22a Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 21 Apr 2013 18:05:21 +0200 Subject: [PATCH] CVolume: consolidate fb->blit() calls --- src/driver/volume.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/driver/volume.cpp b/src/driver/volume.cpp index f9c58554e..fb392038f 100644 --- a/src/driver/volume.cpp +++ b/src/driver/volume.cpp @@ -265,7 +265,6 @@ void CVolume::setVolume(const neutrino_msg_t key, const bool bDoPaint, bool nowa volscale->reset(); refreshVolumebar(vol); - frameBuffer->blit(); } neutrino_msg_data_t data; @@ -349,7 +348,6 @@ void CVolume::setVolume(const neutrino_msg_t key, const bool bDoPaint, bool nowa if(vol != g_settings.current_volume) { vol = g_settings.current_volume; refreshVolumebar(g_settings.current_volume); - frameBuffer->blit(); } } @@ -381,6 +379,7 @@ void CVolume::refreshVolumebar(int current_volume) // progressbar volscale->setValues(current_volume, 100); volscale->paint(); + frameBuffer->blit(); } bool CVolume::changeNotify(const neutrino_locale_t OptionName, void * data)