extragear/graphics/digikam/imageplugins

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extragear/graphics/digikam/imageplugins

Bugzilla from andi.clemens@gmx.net
SVN commit 855506 by aclemens:

digiKam from trunk: Lens Correction - Autocorrection plugin is now ported to Editor Tool API.
CCMAIL: [hidden email]

 M  +1 -1      EDITORTOOLPORT  
 M  +1 -1      lenscorrection/CMakeLists.txt  
 A             lenscorrection/autocorrection/autocorrectiontool.cpp   lenscorrection/autocorrection/imageeffect_autocorrection.cpp#855420 [License: GPL (v2+)]
 A             lenscorrection/autocorrection/autocorrectiontool.h   lenscorrection/autocorrection/imageeffect_autocorrection.h#855420 [License: GPL (v2+)]
 D             lenscorrection/autocorrection/imageeffect_autocorrection.cpp  
 D             lenscorrection/autocorrection/imageeffect_autocorrection.h  
 M  +3 -3      lenscorrection/imageplugin_lenscorrection.cpp  


--- trunk/extragear/graphics/digikam/imageplugins/EDITORTOOLPORT #855505:855506
@@ -24,7 +24,7 @@
 
 lenscorrection
   \---antivignetting        ImageGuideDlg       DONE            DONE
-  \---autocorrection        ImageGuideDlg       A               DONE
+  \---autocorrection        ImageGuideDlg       DONE            DONE
   \---distortion            ImageGuideDlg       A               DONE
 border                      ImageGuideDlg       DONE            DONE
 distortionfx                ImageGuideDlg       DONE            DONE
--- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/CMakeLists.txt #855505:855506
@@ -5,7 +5,7 @@
                    )
 
 
-SET(autocorrection_SRCS autocorrection/imageeffect_autocorrection.cpp
+SET(autocorrection_SRCS autocorrection/autocorrectiontool.cpp
                         autocorrection/klensfun.cpp
    )
 
--- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/imageplugin_lenscorrection.cpp #855505:855506
@@ -34,7 +34,7 @@
 
 #include "config-digikam.h"
 #ifdef HAVE_LENSFUN
-#include "imageeffect_autocorrection.h"
+#include "autocorrectiontool.h"
 #endif // HAVE_LENSFUN
 
 #include "ddebug.h"
@@ -97,8 +97,8 @@
 void ImagePlugin_LensCorrection::slotAutoCorrection()
 {
 #ifdef HAVE_LENSFUN
-    DigikamAutoCorrectionImagesPlugin::ImageEffect_AutoCorrection dlg(kapp->activeWindow());
-    dlg.exec();
+    AutoCorrectionTool *tool = new AutoCorrectionTool(this);
+    loadTool(tool);
 #endif // HAVE_LENSFUN
 }
 
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel