summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-24 06:52:46 +0200
committerMontel Laurent <[email protected]>2017-04-24 06:52:46 +0200
commit966329eb206282a43eda6c8da7de0acc3c919340 (patch)
treeb39b243e859ac7fa6d9cd8b7ec5834db373e63ff
parentce34089ef1a48a46497e644be9cbd392d9f5aad2 (diff)
Assign directly
-rw-r--r--agents/followupreminderagent/followupremindermanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/agents/followupreminderagent/followupremindermanager.cpp b/agents/followupreminderagent/followupremindermanager.cpp
index 803590d..8600c10 100644
--- a/agents/followupreminderagent/followupremindermanager.cpp
+++ b/agents/followupreminderagent/followupremindermanager.cpp
@@ -183,8 +183,7 @@ QString FollowUpReminderManager::printDebugInfo()
QString FollowUpReminderManager::infoToStr(FollowUpReminder::FollowUpReminderInfo *info)
{
- QString infoStr;
- infoStr = QStringLiteral("****************************************");
+ QString infoStr = QStringLiteral("****************************************");
infoStr += QStringLiteral("Akonadi Item id :%1\n").arg(info->originalMessageItemId());
infoStr += QStringLiteral("MessageId :%1\n").arg(info->messageId());
infoStr += QStringLiteral("Subject :%1\n").arg(info->subject());