From kde-commits Sun Aug 31 22:46:20 2008 From: Andi Clemens Date: Sun, 31 Aug 2008 22:46:20 +0000 To: kde-commits Subject: extragear/graphics/digikam/imageplugins Message-Id: <1220222780.501639.29504.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122022279005214 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 }