From bc0a6eafe51a88eb609e83eb399acc2851a65774 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 13 Jan 2019 00:35:39 +0100 Subject: [PATCH] moviebrowser: re-enable both progressbars while loading movies (for testing) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2714c5d9b78e9bcf3f1020dfde5ad2a9c639a407 Author: vanhofen Date: 2019-01-13 (Sun, 13 Jan 2019) Origin message was: ------------------ - moviebrowser: re-enable both progressbars while loading movies (for testing) --- src/gui/moviebrowser/mb.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index aecd1049f..1735a5555 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -3024,10 +3024,8 @@ bool CMovieBrowser::loadTsFileNamesFromDir(const std::string & dirname) } else { result |= addFile(flist[i], dirItNr); } -#if 0 if (result) OnLocalProgress(i, count, dirname ); -#endif } //result = true; } @@ -3269,7 +3267,7 @@ void CMovieBrowser::loadMovies(bool doRefresh) struct timeval t1, t2; gettimeofday(&t1, NULL); - CProgressWindow loadBox((show_mode == MB_SHOW_YT) ? LOCALE_MOVIEPLAYER_YTPLAYBACK : LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES, CCW_PERCENT 50, CCW_PERCENT 10, NULL, show_mode == MB_SHOW_YT ? &ytparser.OnProgress : /* &OnLocalProgress, */ &OnGlobalProgress); + CProgressWindow loadBox((show_mode == MB_SHOW_YT) ? LOCALE_MOVIEPLAYER_YTPLAYBACK : LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES, CCW_PERCENT 50, CCW_PERCENT 10, NULL, show_mode == MB_SHOW_YT ? &ytparser.OnProgress : &OnLocalProgress, &OnGlobalProgress); loadBox.enableShadow(); loadBox.paint();