From 39c6f8a9e734f200de4b67f55e159a6ccce38940 Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 17 Feb 2002 19:21:45 +0000 Subject: fixed stupid bug --- (limited to 'core/pim') 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 += " note:" +((*it).notes()).mid(0, MAX_CHAR_CLIP) + "
"; } } - else if ((time.toString() <= TimeString::dateString((*it).event().end())) && ONLY_LATER ) + else if ((time.toString() <= TimeString::dateString((*it).event().end())) ) { msg += "" + (*it).description() + ""; // include location or not @@ -219,12 +219,11 @@ void Today::getDates() } } } - - if (msg.isEmpty()) - { - msg = "No more appointments today"; - } } + if (msg.isEmpty()) + { + msg = "No more appointments today"; + } DatesField->setText(msg); } } -- cgit v0.9.0.2