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

List:       kde-commits
Subject:    extragear/graphics/digikam/imageplugins
From:       Andi Clemens <andi.clemens () gmx ! net>
Date:       2008-08-31 22:46:20
Message-ID: 1220222780.501639.29504.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 855506 by aclemens:

digiKam from trunk: Lens Correction - Autocorrection plugin is now ported to Editor \
                Tool API.
CCMAIL: digikam-devel@kde.org

 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
 }
 


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

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