diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index ee1cb9dc0..f3be417db 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -1453,7 +1453,7 @@ void CMovieBrowser::refreshMovieInfo(void) void CMovieBrowser::info_hdd_level(bool paint_hdd) { - if (show_mode == MB_SHOW_YT) + if (show_mode == MB_SHOW_YT || !g_settings.infobar_show_sysfs_hdd) return; struct statfs s; @@ -1466,9 +1466,6 @@ 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) { tmp_blocks_percent_used = blocks_percent_used; const short pbw = 100;