mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CComponentsPicture: ensure cache cleanup on missing image while runtime
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9e4ad83305
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-31 (Sun, 31 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -256,8 +256,10 @@ void CComponentsPicture::paintPicture()
|
|||||||
y_pic += fr_thickness;
|
y_pic += fr_thickness;
|
||||||
initCCItem();
|
initCCItem();
|
||||||
|
|
||||||
if (pic_name.empty())
|
if (pic_name.empty()){
|
||||||
|
clearCache();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (cc_allow_paint){
|
if (cc_allow_paint){
|
||||||
dprintf(DEBUG_INFO, "[CComponentsPicture] %s: paint image file: pic_name=%s\n", __func__, pic_name.c_str());
|
dprintf(DEBUG_INFO, "[CComponentsPicture] %s: paint image file: pic_name=%s\n", __func__, pic_name.c_str());
|
||||||
|
Reference in New Issue
Block a user