-rw-r--r-- | core/pim/today/today.cpp | 11 |
1 files changed, 5 insertions, 6 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() | |||
198 | msg += " <i>note</i>:" +((*it).notes()).mid(0, MAX_CHAR_CLIP) + "<br>"; | 198 | msg += " <i>note</i>:" +((*it).notes()).mid(0, MAX_CHAR_CLIP) + "<br>"; |
199 | } | 199 | } |
200 | } | 200 | } |
201 | else if ((time.toString() <= TimeString::dateString((*it).event().end())) && ONLY_LATER ) | 201 | else if ((time.toString() <= TimeString::dateString((*it).event().end())) ) |
202 | { | 202 | { |
203 | msg += "<B>" + (*it).description() + "</B>"; | 203 | msg += "<B>" + (*it).description() + "</B>"; |
204 | // include location or not | 204 | // include location or not |
@@ -219,12 +219,11 @@ void Today::getDates() | |||
219 | } | 219 | } |
220 | } | 220 | } |
221 | } | 221 | } |
222 | |||
223 | if (msg.isEmpty()) | ||
224 | { | ||
225 | msg = "No more appointments today"; | ||
226 | } | ||
227 | } | 222 | } |
223 | if (msg.isEmpty()) | ||
224 | { | ||
225 | msg = "No more appointments today"; | ||
226 | } | ||
228 | DatesField->setText(msg); | 227 | DatesField->setText(msg); |
229 | } | 228 | } |
230 | } | 229 | } |