From 028fc3047065e44d88c2d5550e92b6cf2dcfb3f8 Mon Sep 17 00:00:00 2001 From: Simon Cadman Date: Fri, 13 Sep 2013 19:20:24 +0200 Subject: [PATCH] SMS message notification didn't show any text QString content was shadowing a previously declared variable BUG: 324857 --- kded/plugins/telephony/telephonyplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kded/plugins/telephony/telephonyplugin.cpp b/kded/plugins/telephony/telephonyplugin.cpp index ecc2b7161..ab5c8075a 100644 --- a/kded/plugins/telephony/telephonyplugin.cpp +++ b/kded/plugins/telephony/telephonyplugin.cpp @@ -55,8 +55,8 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np) } else if (event == "sms") { type = "smsReceived"; icon = "mail-receive"; - QString content = np.get("messageBody",""); - content = i18n("SMS from %1: %2", phoneNumber, content); + QString messageBody = np.get("messageBody",""); + content = i18n("SMS from %1: %2", phoneNumber, messageBody); } else if (event == "talking") { return NULL; } else {