diff options
author | montellese <montellese@kodi.tv> | 2015-08-01 09:24:11 +0200 |
---|---|---|
committer | montellese <montellese@kodi.tv> | 2015-08-01 09:24:11 +0200 |
commit | 27ea795e9cd816b6d407940003fedd08e860af44 (patch) | |
tree | 7fe8cc729054e15f6705dc0c6ff0db034c572aa6 | |
parent | fd3c7580882a0a193bce388ca327c203984a3383 (diff) |
CProgressJob: don't set m_progressDialog to nullptr in MarkFinished() (partially reverts 658b0a21ed4a7443d6670fc6180d8dc2e9b2ca47
-rw-r--r-- | xbmc/utils/ProgressJob.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xbmc/utils/ProgressJob.cpp b/xbmc/utils/ProgressJob.cpp index df7afee3d2..bb18ba69bd 100644 --- a/xbmc/utils/ProgressJob.cpp +++ b/xbmc/utils/ProgressJob.cpp @@ -187,12 +187,7 @@ void CProgressJob::MarkFinished() } } else if (m_progressDialog != NULL && m_autoClose) - { m_progressDialog->Close(); - //We don't own this pointer and it will be deleted after it's marked finished - //just set it to nullptr so we don't try to use it again - m_progressDialog = nullptr; - } } bool CProgressJob::IsCancelled() const |