From 7fc6a62fc43bfed44a6b6ee23c057a1f46160d05 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 10 Aug 2016 17:02:59 +0200 Subject: [PATCH] fix c340e2c4d2a3b43b53b27ed17ae06e205e02811f Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ddf6b6737f30506c7bce42952eb3c83948648cda Author: vanhofen Date: 2016-08-10 (Wed, 10 Aug 2016) Origin message was: ------------------ - fix c340e2c4d2a3b43b53b27ed17ae06e205e02811f ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/moviebrowser.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;