[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kcalutils] src: Don't pass unneeded argument
From: Sergio Martins <iamsergio () gmail ! com>
Date: 2015-07-31 23:16:23
Message-ID: E1ZLJXL-0005t8-NL () scm ! kde ! org
[Download RAW message or body]
Git commit 2b885a1168a8f100c7451c5c0f01b181359ad257 by Sergio Martins.
Committed on 31/07/2015 at 23:13.
Pushed by smartins into branch 'master'.
Don't pass unneeded argument
M +2 -3 src/incidenceformatter.cpp
http://commits.kde.org/kcalutils/2b885a1168a8f100c7451c5c0f01b181359ad257
diff --git a/src/incidenceformatter.cpp b/src/incidenceformatter.cpp
index fb84133..40e0cc0 100644
--- a/src/incidenceformatter.cpp
+++ b/src/incidenceformatter.cpp
@@ -2485,8 +2485,7 @@ static QString invitationRsvpList(const Incidence::Ptr &incidence, const Attende
return tmpStr;
}
-static QString invitationAttachments(InvitationFormatterHelper *helper,
- const Incidence::Ptr &incidence)
+static QString invitationAttachments(const Incidence::Ptr &incidence)
{
QString tmpStr;
if (!incidence) {
@@ -3335,7 +3334,7 @@ static QString formatICalInvitationHelper(const QString &invitation,
html += QLatin1String("</div>");
// Add the attachment list
- html += invitationAttachments(helper, inc);
+ html += invitationAttachments(inc);
return html;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic