aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2015-08-31 16:07:54 +0200
committermontellese <montellese@xbmc.org>2015-08-31 16:07:54 +0200
commit597e015730806047bd37ca6311a0d726059a47c7 (patch)
treecab297454336d53ff84014740a3f3104417b09ad
parent53ff4288577e7123d5650a7f7944ae6eb2676ab6 (diff)
CVideoLibraryProgressJob: don't force the progress dialog/bar open in DoWork()
-rw-r--r--xbmc/video/jobs/VideoLibraryProgressJob.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/xbmc/video/jobs/VideoLibraryProgressJob.cpp b/xbmc/video/jobs/VideoLibraryProgressJob.cpp
index 14a93bbaa3..072513d002 100644
--- a/xbmc/video/jobs/VideoLibraryProgressJob.cpp
+++ b/xbmc/video/jobs/VideoLibraryProgressJob.cpp
@@ -29,11 +29,8 @@ CVideoLibraryProgressJob::~CVideoLibraryProgressJob()
bool CVideoLibraryProgressJob::DoWork()
{
- SetProgress(0.0f);
-
bool result = CVideoLibraryJob::DoWork();
- SetProgress(100.0f);
MarkFinished();
return result;