-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 @@ -199,5 +199,5 @@ void Today::getDates() } } - 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>"; @@ -220,10 +220,9 @@ void Today::getDates() } } - - if (msg.isEmpty()) - { - msg = "No more appointments today"; - } } + if (msg.isEmpty()) + { + msg = "No more appointments today"; + } DatesField->setText(msg); } |