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