author | harlekin <harlekin> | 2002-02-21 22:43:28 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-02-21 22:43:28 (UTC) |
commit | 7fd3f2ce443a136079bb9230b90b31c8d172b16a (patch) (unidiff) | |
tree | 8786464c785def9cc0eaa874dcc10871bde11a64 /core/pim/today | |
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 | |||
@@ -189,18 +189,18 @@ void Today::getDates() | |||
189 | // include location or not | 189 | // include location or not |
190 | if (SHOW_LOCATION == 1) | 190 | if (SHOW_LOCATION == 1) |
191 | { | 191 | { |
192 | msg+= "<BR><i>" + (*it).location(); | 192 | msg += "<BR><i>" + (*it).location(); |
193 | msg += "</i>"; | ||
193 | } | 194 | } |
194 | msg += "</i><BR>"; | 195 | |
195 | |||
196 | if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") ) | 196 | if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") ) |
197 | { | 197 | { |
198 | msg += "All day"; | 198 | msg += "<br>All day"; |
199 | } | 199 | } |
200 | else | 200 | else |
201 | { | 201 | { |
202 | // start time of event | 202 | // start time of event |
203 | msg += TimeString::timeString(QTime((*it).event().start().time()) ) | 203 | msg += "<br>" + TimeString::timeString(QTime((*it).event().start().time()) ) |
204 | // end time of event | 204 | // end time of event |
205 | + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ); | 205 | + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ); |
206 | } | 206 | } |
@@ -222,17 +222,17 @@ void Today::getDates() | |||
222 | if (SHOW_LOCATION == 1) | 222 | if (SHOW_LOCATION == 1) |
223 | { | 223 | { |
224 | msg+= "<BR><i>" + (*it).location(); | 224 | msg+= "<BR><i>" + (*it).location(); |
225 | msg += "</i>"; | ||
225 | } | 226 | } |
226 | msg += "</i><BR>"; | 227 | |
227 | |||
228 | if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") ) | 228 | if ( (TimeString::timeString(QTime((*it).event().start().time()) ) == "00:00") && (TimeString::timeString(QTime((*it).event().end().time()) ) == "23:59") ) |
229 | { | 229 | { |
230 | msg += "All day"; | 230 | msg += "<br>All day"; |
231 | } | 231 | } |
232 | else | 232 | else |
233 | { | 233 | { |
234 | // start time of event | 234 | // start time of event |
235 | msg += TimeString::timeString(QTime((*it).event().start().time()) ) | 235 | msg += "<br>" + TimeString::timeString(QTime((*it).event().start().time()) ) |
236 | // end time of event | 236 | // end time of event |
237 | + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ); | 237 | + "<b> - </b>" + TimeString::timeString(QTime((*it).event().end().time()) ); |
238 | } | 238 | } |