-rw-r--r-- | korganizer/calendarview.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 1f2c6da..3e0a27d 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2325,2 +2325,8 @@ void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) Incidence *in = incidence->clone(); + if ( ! in->summary().isEmpty() ) { + in->setDescription(""); + } else { + in->setSummary( in->description().left(20)); + in->setDescription(""); + } if ( addText ) @@ -2341,4 +2347,4 @@ void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) mes = i18n("KO/Pi: Ready for beaming"); - setCaption(mes); - + topLevelWidget()->setCaption(mes); + KApplication::convert2latin1( fn ); #ifndef DESKTOP_VERSION @@ -2355,2 +2361,4 @@ void CalendarView::beamDone( Ir *ir ) #endif + topLevelWidget()->setCaption( i18n("KO/Pi: Beaming done.") ); + topLevelWidget()->raise(); } |