[Digikam-devel] [Bug 137495] showfoto crashes when doing any modification to a loaded directory

Marcel Wiesweg marcel.wiesweg at gmx.de
Tue Nov 21 20:35:10 GMT 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=137495         




------- Additional Comments From marcel.wiesweg gmx de  2006-11-21 21:35 -------
Here is the patch for the rawloader problem. KProcess::normalExit() does not cover a normal exit with return status != 0.

Index: libs/dimg/loaders/rawloader.cpp
===================================================================
--- libs/dimg/loaders/rawloader.cpp     (revision 606518)
+++ libs/dimg/loaders/rawloader.cpp     (working copy)
 @ -392,7 +392,7  @

     QMutexLocker lock(&m_mutex);
     m_running = false;
-    m_normalExit = m_process->normalExit();
+    m_normalExit = m_process->normalExit() && m_process->exitStatus() == 0;
     delete m_process;
     m_process = 0;
     delete m_queryTimer;



More information about the Digikam-devel mailing list