moviebrowser: re-enable both progressbars while loading movies (for testing)

Origin commit data
------------------
Commit: 2714c5d9b7
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-13 (Sun, 13 Jan 2019)

Origin message was:
------------------
- moviebrowser: re-enable both progressbars while loading movies (for testing)
This commit is contained in:
vanhofen
2019-01-13 00:35:39 +01:00
parent 8a0f711c39
commit bc0a6eafe5

View File

@@ -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();