Commit 47846a5c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix show error as utf8

parent 6a86f5cf
......@@ -275,7 +275,7 @@ QString SignaturePrivate::textFromCommand(bool *ok) const
*ok = false;
}
const QString wmsg = i18n("<qt>Failed to execute signature script<p><b>%1</b>:</p>"
"<p>%2</p></qt>", path, QLatin1String(proc.readAllStandardError()));
"<p>%2</p></qt>", path, QString::fromUtf8(proc.readAllStandardError()));
KMessageBox::error(nullptr, wmsg);
return QString();
}
......
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