Commit 72db75e1 authored by Simon Cadman's avatar Simon Cadman Committed by Albert Vaca Cintora

SMS message notification didn't show any text

QString content was shadowing a previously declared variable

BUG: 324857
parent 817a6c8d
......@@ -55,8 +55,8 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
} else if (event == "sms") {
type = "smsReceived";
icon = "mail-receive";
QString content = np.get<QString>("messageBody","");
content = i18n("SMS from %1: %2", phoneNumber, content);
QString messageBody = np.get<QString>("messageBody","");
content = i18n("SMS from %1: %2", phoneNumber, messageBody);
} else if (event == "talking") {
return NULL;
} else {
......
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