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

Minor

parent f6ac752a
......@@ -183,8 +183,7 @@ QMap<QString, QString> parseMailtoUrl(const QUrl &url)
values.insertMulti(queryItem.first, queryItem.second);
}
QStringList to;
to << KEmailAddress::decodeMailtoUrl(url);
QStringList to = {KEmailAddress::decodeMailtoUrl(url)};
const QString toStr = values.value(QStringLiteral("to"));
if (!toStr.isEmpty()) {
......
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