Commit 9e41bf8c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/Applications/17.04'

parents b7d7ca74 44f16b48
......@@ -86,9 +86,9 @@ void SendSmsAction::sendSms(const KContacts::PhoneNumber &phoneNumber)
* %N the raw number
* %n the number with all additional non-number characters removed
command = command.replace(QStringLiteral("%N"), phoneNumber.number());
command = command.replace(QStringLiteral("%n"), strippedSmsNumber(number));
command = command.replace(QStringLiteral("%t"), message);
command = command.replace(QStringLiteral("%N"), QStringLiteral("\"%1\"").arg(phoneNumber.number()));
command = command.replace(QStringLiteral("%n"), QStringLiteral("\"%1\"").arg(strippedSmsNumber(number)));
command = command.replace(QStringLiteral("%t"), QStringLiteral("\"%1\"").arg(message));
//Bug: 293232 In KDE3 We used %F to replace text
command = command.replace(QStringLiteral("%F"), message);
KRun::runCommand(command, nullptr);
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