SVN commit 854713 by aclemens:
digiKam from trunk: Red Eye Removal plugin is now ported to Editor Tool API.
CCMAIL:
[hidden email]
M +1 -1 CMakeLists.txt
D imageeffect_redeye.cpp
D imageeffect_redeye.h
M +3 -3 imageplugin_core.cpp
A redeyetool.cpp imageeffect_redeye.cpp#854704 [License: GPL (v2+)]
A redeyetool.h imageeffect_redeye.h#854704 [License: GPL (v2+)]
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #854712:854713
@@ -53,10 +53,10 @@
../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp
../../imageplugins/coreplugin/imageeffect_blur.cpp
../../imageplugins/coreplugin/imageeffect_iccproof.cpp
- ../../imageplugins/coreplugin/imageeffect_redeye.cpp
../../imageplugins/coreplugin/imageplugin_core.cpp
../../imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp
../../imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp
+ ../../imageplugins/coreplugin/redeyetool.cpp
../../imageplugins/coreplugin/rgbtool.cpp
../../imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp
../../imageplugins/coreplugin/sharpnesseditor/matrix.cpp
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #854712:854713
@@ -46,8 +46,8 @@
#include "imageeffect_blur.h"
#include "imageeffect_iccproof.h"
#include "imageeffect_ratiocrop.h"
-#include "imageeffect_redeye.h"
#include "imageeffect_sharpen.h"
+#include "redeyetool.h"
#include "rgbtool.h"
#include "imageplugin_core.h"
#include "imageplugin_core.moc"
@@ -275,8 +275,8 @@
return;
}
- ImageEffect_RedEye dlg(kapp->activeWindow());
- dlg.exec();
+ RedEyeTool *tool = new RedEyeTool(kapp->activeWindow());
+ loadTool(tool);
}
void ImagePlugin_Core::slotColorManagement()
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel