summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-14 13:00:05 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-14 13:00:05 (GMT)
commitfc2822b95c4e630ba970e7031cbc00a534bfae88 (patch)
treee9b97bb12eb04e31a1efca04096f99bd06b9fdca
parent6b3bc831e561b407913108479b1fb145bacc34e5 (diff)
Remove unused variablev16.11.80
-rw-r--r--src/incidenceformatter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/incidenceformatter.cpp b/src/incidenceformatter.cpp
index f1a46f4..d9f8303 100644
--- a/src/incidenceformatter.cpp
+++ b/src/incidenceformatter.cpp
@@ -436,7 +436,6 @@ static QVariantHash displayViewFormatBirthday(const Event::Ptr &event)
static QVariantHash incidenceTemplateHeader(const Incidence::Ptr &incidence)
{
QVariantHash incidenceData;
- QString iconPath;
if (incidence->customProperty("KABC", "BIRTHDAY") == QLatin1String("YES")) {
incidenceData[QStringLiteral("icon")] = QStringLiteral("view-calendar-birthday");
} else if (incidence->customProperty("KABC", "ANNIVERSARY") == QLatin1String("YES")) {
@@ -3171,7 +3170,7 @@ QString IncidenceFormatter::recurrenceString(const Incidence::Ptr &incidence)
Recurrence *recur = incidence->recurrence();
- QString txt, recurStr;
+ QString recurStr;
static QString noRecurrence = i18n("No recurrence");
switch (recur->recurrenceType()) {
case Recurrence::rNone: