aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmarshallnz <jcmarsha@gmail.com>2013-02-14 23:27:34 -0800
committerjmarshallnz <jcmarsha@gmail.com>2013-02-14 23:27:34 -0800
commit4659e134824d3cd8b18e2bad6409fb4f0a901179 (patch)
tree1900060bb85b4f2481d3409f0e5e3093120a8c3f
parent15f444918b4eb5d4834346cd86cd03b7a036083b (diff)
parenta8a9bb8c891082edfb70d71688aa53b4117c8a9c (diff)
Merge pull request #2241 from t-nelson/delete_failed_fileop_jobs
Don't leave failed fileop jobs in the processing list.
-rw-r--r--xbmc/windows/GUIWindowFileManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/windows/GUIWindowFileManager.cpp b/xbmc/windows/GUIWindowFileManager.cpp
index 990770d900..fbbe083611 100644
--- a/xbmc/windows/GUIWindowFileManager.cpp
+++ b/xbmc/windows/GUIWindowFileManager.cpp
@@ -1178,8 +1178,7 @@ void CGUIWindowFileManager::OnJobComplete(unsigned int jobID, bool success, CJob
CApplicationMessenger::Get().SendGUIMessage(msg, GetID(), false);
}
- if (success)
- CJobQueue::OnJobComplete(jobID, success, job);
+ CJobQueue::OnJobComplete(jobID, success, job);
}
void CGUIWindowFileManager::ShowShareErrorMessage(CFileItem* pItem)