mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kmail: fallback to the URL for recipients
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6e488f98fa
commit
48180dbcb3
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ int main(int argc, char **argv) {
|
|||
if (argurl.hasQueryItem("cc")) {
|
||||
mailto.append(splitMailArg(argurl.queryItemValue("cc")));
|
||||
}
|
||||
if (mailto.isEmpty()) {
|
||||
mailto.append(argurl.url().replace(QLatin1String("mailto:"), QString()));
|
||||
}
|
||||
dialog->setTo(mailto);
|
||||
|
||||
if (argurl.hasQueryItem("body")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue