CAudioMute: remove explicit paint

Already done by InfoClock itself with timer


Origin commit data
------------------
Commit: a94916f2db
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-26 (Tue, 26 Apr 2016)
This commit is contained in:
2016-04-26 09:32:09 +02:00
parent ab87ecabe7
commit a404fca5c1

View File

@@ -84,7 +84,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
*/ */
if (!CInfoClock::getInstance()->isBlocked()){ if (!CInfoClock::getInstance()->isBlocked()){
CInfoClock::getInstance()->ClearDisplay(); CInfoClock::getInstance()->ClearDisplay();
CInfoClock::getInstance()->paint();//avoids delay
} }
frameBuffer->fbNoCheck(true); frameBuffer->fbNoCheck(true);
@@ -98,7 +97,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
CInfoClock::getInstance()->ClearDisplay(); CInfoClock::getInstance()->ClearDisplay();
this->kill(); this->kill();
clearSavedScreen(); clearSavedScreen();
CInfoClock::getInstance()->paint();//avoids delay
}else }else
this->hide(); this->hide();
frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1); frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1);