mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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:
@@ -84,7 +84,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
|
||||
*/
|
||||
if (!CInfoClock::getInstance()->isBlocked()){
|
||||
CInfoClock::getInstance()->ClearDisplay();
|
||||
CInfoClock::getInstance()->paint();//avoids delay
|
||||
}
|
||||
|
||||
frameBuffer->fbNoCheck(true);
|
||||
@@ -98,7 +97,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent)
|
||||
CInfoClock::getInstance()->ClearDisplay();
|
||||
this->kill();
|
||||
clearSavedScreen();
|
||||
CInfoClock::getInstance()->paint();//avoids delay
|
||||
}else
|
||||
this->hide();
|
||||
frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1);
|
||||
|
Reference in New Issue
Block a user