SMS message notification didn't show any text
QString content was shadowing a previously declared variable BUG: 324857
This commit is contained in:
parent
006a0b8dad
commit
028fc30470
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue