[Digikam-devel] [Bug 120736] many imageplugins going busy for ever when not using rubber to change a value

Gilles Caulier caulier.gilles at free.fr
Wed Jan 25 07:06:11 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=120736         




------- Additional Comments From caulier.gilles free fr  2006-01-25 08:06 -------
SVN commit 502189 by cgilles:

digikam from stable : do not render preview effect if final rendering is already in progress in image.
CCBUG: 120736


 M  +4 -2      ctrlpaneldialog.cpp  
 M  +4 -2      imageguidedialog.cpp  


--- branches/stable/extragear/graphics/digikamimageplugins/common/dialogs/ctrlpaneldialog.cpp #502188:502189
 @ -240,8 +240,10  @
 void CtrlPanelDialog::slotEffect()
 {
     // Computation already in process.
-    if (m_currentRenderingMode == PreviewRendering) return;
-
+    if (m_currentRenderingMode == PreviewRendering ||
+        m_currentRenderingMode == FinalRendering)
+        return;
+        
     m_currentRenderingMode = PreviewRendering;
 
     m_imagePreviewWidget->setEnable(false);
--- branches/stable/extragear/graphics/digikamimageplugins/common/dialogs/imageguidedialog.cpp #502188:502189
 @ -313,8 +313,10  @
 void ImageGuideDialog::slotEffect()
 {
     // Computation already in process.
-    if (m_currentRenderingMode == PreviewRendering) return;
-
+    if (m_currentRenderingMode == PreviewRendering ||
+        m_currentRenderingMode == FinalRendering)
+        return;
+        
     m_currentRenderingMode = PreviewRendering;
 
     enableButton(Ok,    false);



More information about the Digikam-devel mailing list