author | harlekin <harlekin> | 2002-02-21 22:43:28 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-02-21 22:43:28 (UTC) |
commit | 7fd3f2ce443a136079bb9230b90b31c8d172b16a (patch) (side-by-side diff) | |
tree | 8786464c785def9cc0eaa874dcc10871bde11a64 /core | |
parent | ec52599a5a9ca3397e6375b7aeb4ee391c614bfb (diff) | |
download | opie-7fd3f2ce443a136079bb9230b90b31c8d172b16a.zip opie-7fd3f2ce443a136079bb9230b90b31c8d172b16a.tar.gz opie-7fd3f2ce443a136079bb9230b90b31c8d172b16a.tar.bz2 |
fixed some layout glitches
-rw-r--r-- | core/pim/today/today.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 1f6f34e..c63a9ef 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -190,16 +190,16 @@ void Today::getDates() if (SHOW_LOCATION == 1) { - msg+= "<BR><i>" + (*it).location(); + msg += "<BR><i>" + (*it).location(); + msg += "</i>"; } - msg += "</i><BR>"; - + if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") ) { - msg += "All day"; + msg += "<br>All day"; } else { // start time of event - msg += TimeString::timeString(QTime((*it).event().start().time()) ) + msg += "<br>" + TimeString::timeString(QTime((*it).event().start().time()) ) // end time of event + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ); @@ -223,15 +223,15 @@ void Today::getDates() { msg+= "<BR><i>" + (*it).location(); + msg += "</i>"; } - msg += "</i><BR>"; - + if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") ) { - msg += "All day"; + msg += "<br>All day"; } else { // start time of event - msg += TimeString::timeString(QTime((*it).event().start().time()) ) + msg += "<br>" + TimeString::timeString(QTime((*it).event().start().time()) ) // end time of event + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ); |