-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 @@ -2323,6 +2323,12 @@ void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) } while ( incidence ) { Incidence *in = incidence->clone(); + if ( ! in->summary().isEmpty() ) { + in->setDescription(""); + } else { + in->setSummary( in->description().left(20)); + in->setDescription(""); + } if ( addText ) description += in->summary() + "\n"; cal->addIncidence( in ); @@ -2339,8 +2345,8 @@ void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) } delete cal; mes = i18n("KO/Pi: Ready for beaming"); - setCaption(mes); - + topLevelWidget()->setCaption(mes); + KApplication::convert2latin1( fn ); #ifndef DESKTOP_VERSION Ir *ir = new Ir( this ); connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) ); @@ -2353,6 +2359,8 @@ void CalendarView::beamDone( Ir *ir ) #ifndef DESKTOP_VERSION delete ir; #endif + topLevelWidget()->setCaption( i18n("KO/Pi: Beaming done.") ); + topLevelWidget()->raise(); } void CalendarView::moveIncidence(Incidence * inc ) |