From ee67394120b5436d955d64a21b8ea707b57ac0c0 Mon Sep 17 00:00:00 2001 From: harlekin Date: Tue, 11 Feb 2003 22:27:27 +0000 Subject: fix for bugreport #664, show also location in popups in datebooks weekview --- 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, "<" ); + 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 = "" + strDesc + "
" + "" - + strCat + "" + QString str = "" + strDesc + "
" + + strLocation + "
" + + "" + strCat + "" + "
" + TimeString::longDateString( ev.date() ) + "
"; -- cgit v0.9.0.2