Commit ef6f4c16 authored by Laurent Montel's avatar Laurent Montel 😁

Remove empty part

parent 49d9ba8f
......@@ -74,7 +74,7 @@ void ViewerPluginExternalscriptInterface::execute()
} else {
QProcess proc;
qDebug() << " executablePath" << executablePath << " newCommandLine" << newCommandLine;
const QStringList splitArguments = newCommandLine.split(QLatin1Char(' '));
const QStringList splitArguments = newCommandLine.split(QLatin1Char(' '), QString::SkipEmptyParts);
qDebug() << " splitArguments" << splitArguments;
if (!proc.startDetached(executablePath, splitArguments)) {
KMessageBox::error(0, i18n("Impossible to start executable"));
......
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