author | harlekin <harlekin> | 2002-02-17 19:21:45 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-02-17 19:21:45 (UTC) |
commit | 39c6f8a9e734f200de4b67f55e159a6ccce38940 (patch) (side-by-side diff) | |
tree | 3574ddf0d7b99deca02d4ca8c1a71e8ef72cf99f | |
parent | 687d0c760684392c89f4e99fbf803c8f4d67b2b1 (diff) | |
download | opie-39c6f8a9e734f200de4b67f55e159a6ccce38940.zip opie-39c6f8a9e734f200de4b67f55e159a6ccce38940.tar.gz opie-39c6f8a9e734f200de4b67f55e159a6ccce38940.tar.bz2 |
fixed stupid bug
-rw-r--r-- | core/pim/today/today.cpp | 5 |
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 @@ -193,17 +193,17 @@ void Today::getDates() + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ) + "<BR>"; // include possible note or not if (SHOW_NOTES == 1) { 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 if (SHOW_LOCATION == 1) { msg+= "<BR>" + (*it).location(); } msg += "<BR>" @@ -214,22 +214,21 @@ void Today::getDates() + "<BR>"; // include possible note or not if (SHOW_NOTES == 1) { msg += " <i>note</i>:" +((*it).notes()).mid(0, MAX_CHAR_CLIP) + "<br>"; } } } - + } if (msg.isEmpty()) { msg = "No more appointments today"; } - } DatesField->setText(msg); } } /* * Parse in the todolist.xml * */ |