mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
- moviebrowser: don't paint hdd progressbar if it's disabled by user
This commit is contained in:
@@ -1466,6 +1466,9 @@ void CMovieBrowser::info_hdd_level(bool paint_hdd)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (paint_hdd)
|
||||||
|
paint_hdd = g_settings.infobar_show_sysfs_hdd; // don't paint if disabled by user
|
||||||
|
|
||||||
if (tmp_blocks_percent_used != blocks_percent_used || paint_hdd) {
|
if (tmp_blocks_percent_used != blocks_percent_used || paint_hdd) {
|
||||||
tmp_blocks_percent_used = blocks_percent_used;
|
tmp_blocks_percent_used = blocks_percent_used;
|
||||||
const short pbw = 100;
|
const short pbw = 100;
|
||||||
|
Reference in New Issue
Block a user