Unbreak build

Missed custom_commands parameter in call to gmic(...)
in KisGmicTests::filterWithGmic)

Also revert to relying on default values instead of passing them explicitly
parent 388ca76e
......@@ -67,7 +67,7 @@ void KisGmicCommand::redo()
QString gmicCmd = "-* 255 ";
gmicCmd.append(m_gmicCommandString);
dbgPlugins << m_gmicCommandString;
gmic(gmicCmd.toLocal8Bit().constData(), *m_images, images_names, m_customCommands, true, 0, 0);
gmic(gmicCmd.toLocal8Bit().constData(), *m_images, images_names, m_customCommands);
}
// Catch exception, if an error occured in the interpreter.
......
......@@ -337,7 +337,7 @@ bool KisGmicTests::filterWithGmic(KisGmicFilterSetting* gmicFilterSetting, const
{
QString gmicCmd = "-* 255 ";
gmicCmd.append(gmicFilterSetting->gmicCommand());
gmic(gmicCmd.toLocal8Bit().constData(), images, images_names, true, 0, 0);
gmic(gmicCmd.toLocal8Bit().constData(), images, images_names);
}
// Catch exception, if an error occured in the interpreter.
catch (gmic_exception &e)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment