Commit 5b8f7258 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix QUrl

parent 090c6589
......@@ -263,7 +263,7 @@ void IncidenceDefaults::setAttachments(const QStringList &attachments,
KCalCore::Attachment::Ptr attachment;
if (inlineAttachment) {
auto job = KIO::storedGet(QUrl(*it));
auto job = KIO::storedGet(QUrl::fromUserInput(*it));
if (job->exec()) {
const QByteArray data = job->data();
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