summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 0f6e598..7a2d0c9 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -198,7 +198,7 @@ void Today::getDates()
msg += " <i>note</i>:" +((*it).notes()).mid(0, MAX_CHAR_CLIP) + "<br>";
}
}
- else if ((time.toString() <= TimeString::dateString((*it).event().end())) && ONLY_LATER )
+ else if ((time.toString() <= TimeString::dateString((*it).event().end())) )
{
msg += "<B>" + (*it).description() + "</B>";
// include location or not
@@ -219,12 +219,11 @@ void Today::getDates()
}
}
}
-
+ }
if (msg.isEmpty())
{
msg = "No more appointments today";
}
- }
DatesField->setText(msg);
}
}