SVN commit 536831 by cgilles:
kipi jpeglosslessplugin : If an error is detected during rotate/flip/convertB&W image process, displaying error messages into progress dialog like a warning. Note that all message from ImageMagick are reported too.
CCMAIL:
[hidden email],
[hidden email]
M +7 -5 plugin_jpeglossless.cpp
--- trunk/extragear/libs/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp #536830:536831
@@ -167,7 +167,7 @@
Plugin_JPEGLossless::~Plugin_JPEGLossless()
{
- // Remove KIPI JPEGLossLess plugin temporary folder in KDE tmp directory.
+ // TODO: remove KIPI JPEGLossLess plugin temporary folder in KDE tmp directory.
delete m_thread;
@@ -368,17 +368,17 @@
{
case(KIPIJPEGLossLessPlugin::Rotate):
{
- text = i18n("Failed to Rotate");
+ text = i18n("Failed to Rotate image");
break;
}
case(KIPIJPEGLossLessPlugin::Flip):
{
- text = i18n("Failed to flip Image");
+ text = i18n("Failed to Flip image");
break;
}
case(KIPIJPEGLossLessPlugin::GrayScale):
{
- text = i18n("Failed to convert to Black & White");
+ text = i18n("Failed to convert image to Black & White");
break;
}
default:
@@ -388,6 +388,8 @@
}
m_progressDlg->addedAction(text, KIPI::WarningMessage);
+ if (!d->errString.isEmpty())
+ m_progressDlg->addedAction(d->errString, KIPI::WarningMessage);
}
else
{
@@ -400,7 +402,7 @@
}
case(KIPIJPEGLossLessPlugin::Flip):
{
- text = i18n("Flip Image complete");
+ text = i18n("Flip image complete");
break;
}
case(KIPIJPEGLossLessPlugin::GrayScale):
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel