SVN commit 854637 by aclemens:
digiKam from trunk: Black & White plugin is now ported to Editor Tool API.
CCMAIL:
[hidden email]
M +1 -1 CMakeLists.txt
A bwsepiatool.cpp imageeffect_bwsepia.cpp#854597 [License: GPL (v2+)]
A bwsepiatool.h imageeffect_bwsepia.h#854597 [License: GPL (v2+)]
D imageeffect_bwsepia.cpp
D imageeffect_bwsepia.h
M +3 -3 imageplugin_core.cpp
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #854636:854637
@@ -51,7 +51,7 @@
../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp
../../imageplugins/coreplugin/hsl/imageeffect_hsl.cpp
../../imageplugins/coreplugin/imageeffect_blur.cpp
- ../../imageplugins/coreplugin/imageeffect_bwsepia.cpp
+ ../../imageplugins/coreplugin/bwsepiatool.cpp
../../imageplugins/coreplugin/imageeffect_iccproof.cpp
../../imageplugins/coreplugin/imageeffect_redeye.cpp
../../imageplugins/coreplugin/imageeffect_rgb.cpp
--- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #854636:854637
@@ -42,7 +42,7 @@
#include "imageeffect_rgb.h"
#include "imageeffect_hsl.h"
#include "bcgtool.h"
-#include "imageeffect_bwsepia.h"
+#include "bwsepiatool.h"
#include "imageeffect_redeye.h"
#include "imageeffect_blur.h"
#include "imageeffect_sharpen.h"
@@ -287,8 +287,8 @@
void ImagePlugin_Core::slotBW()
{
- ImageEffect_BWSepia dlg(kapp->activeWindow());
- dlg.exec();
+ BWSepiaTool *tool = new BWSepiaTool(kapp->activeWindow());
+ loadTool(tool);
}
void ImagePlugin_Core::slotHSL()
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel