[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [digikam] utilities/maintenance: fix crash in ImageInfoJob triggered from GPSSearchView
From:       Maik Qualmann <metzpinguin () gmail ! com>
Date:       2015-11-30 21:56:33
Message-ID: E1a3WQz-0002Wx-VJ () scm ! kde ! org
[Download RAW message or body]

Git commit bd24e4290efd95d3118abf647b4d4c804c91753d by Maik Qualmann.
Committed on 30/11/2015 at 21:55.
Pushed by mqualmann into branch 'master'.

fix crash in ImageInfoJob triggered from GPSSearchView

M  +5    -0    utilities/maintenance/imageinfojob.cpp

http://commits.kde.org/digikam/bd24e4290efd95d3118abf647b4d4c804c91753d

diff --git a/utilities/maintenance/imageinfojob.cpp b/utilities/maintenance=
/imageinfojob.cpp
index 20c4d7a..2eeab4c 100644
--- a/utilities/maintenance/imageinfojob.cpp
+++ b/utilities/maintenance/imageinfojob.cpp
@@ -138,6 +138,11 @@ bool ImageInfoJob::isRunning() const
 =

 void ImageInfoJob::slotResult()
 {
+    if (!d->jobThread)
+    {
+        return;
+    }
+
     if (d->jobThread->hasErrors())
     {
         qCWarning(DIGIKAM_GENERAL_LOG) << "Failed to list url: " << d->job=
Thread->errorsList().first();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic