Commit 76ae38e3 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Fix invoking email client with given recipient address

This fixes a regression introduced almost 6 years ago.

Fixes-commit: 60dc0bc4

GnuPG-bug-id: 6013
parent d6c80c3d
Pipeline #184740 passed with stage
in 2 minutes and 3 seconds
......@@ -324,6 +324,7 @@ void ResultPage::invokeMailer(const QString &to, const QString &subject, const Q
}
QUrl url;
url.setScheme(QStringLiteral("mailto"));
url.setPath(to);
url.setQuery(query);
qCDebug(KLEOPATRA_LOG) << "openUrl" << url;
QDesktopServices::openUrl(url);
......
Supports Markdown
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