From c340e2c4d2a3b43b53b27ed17ae06e205e02811f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 10 Aug 2016 16:07:16 +0200 Subject: [PATCH] moviebrowser: don't paint hdd progressbar if it's disabled by user Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4dd56385fb6771a50fe86bafb37a60260ee7669a Author: vanhofen Date: 2016-08-10 (Wed, 10 Aug 2016) Origin message was: ------------------ - moviebrowser: don't paint hdd progressbar if it's disabled by user ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/moviebrowser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index dc8e0b2e4..ee1cb9dc0 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -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) { tmp_blocks_percent_used = blocks_percent_used; const short pbw = 100;