summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-02-11 22:27:27 (UTC)
committer harlekin <harlekin>2003-02-11 22:27:27 (UTC)
commitee67394120b5436d955d64a21b8ea707b57ac0c0 (patch) (side-by-side diff)
tree7bff77ad9e116ed103068f69aee19671ec8a1680
parente7ebea116b82577d861cba0650a80b12900b2e24 (diff)
downloadopie-ee67394120b5436d955d64a21b8ea707b57ac0c0.zip
opie-ee67394120b5436d955d64a21b8ea707b57ac0c0.tar.gz
opie-ee67394120b5436d955d64a21b8ea707b57ac0c0.tar.bz2
fix for bugreport #664, show also location in popups in datebooks weekview
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebookweek.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/core/pim/datebook/datebookweek.cpp b/core/pim/datebook/datebookweek.cpp
index e16f516..ddd41af 100644
--- a/core/pim/datebook/datebookweek.cpp
+++ b/core/pim/datebook/datebookweek.cpp
@@ -513,6 +513,13 @@ void DateBookWeek::slotShowEvent( const EffectiveEvent &ev )
// where = strCat.find( "<", where );
// }
+ QString strLocation = ev.location();
+ while ( where != -1 ) {
+ strLocation.remove( where, 1 );
+ strLocation.insert( where, "&#60;" );
+ where = strLocation.find( "<", where );
+ }
+
QString strNote = ev.notes();
where = strNote.find( "<" );
while ( where != -1 ) {
@@ -521,8 +528,9 @@ void DateBookWeek::slotShowEvent( const EffectiveEvent &ev )
where = strNote.find( "<", where );
}
- QString str = "<b>" + strDesc + "</b><br>" + "<i>"
- + strCat + "</i>"
+ QString str = "<b>" + strDesc + "</b><br>"
+ + strLocation + "<br>"
+ + "<i>" + strCat + "</i>"
+ "<br>" + TimeString::longDateString( ev.date() )
+ "<br>";