-rw-r--r-- | korganizer/kofilterview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 3cde103..20118aa 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp | |||
@@ -214,8 +214,9 @@ void KOCalEditView::infoCal( int id ) | |||
214 | if ( KMessageBox::Yes == KMessageBox::questionYesNo( this, i18n("The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>").arg(name).arg(file) ) ) { | 214 | if ( KMessageBox::Yes == KMessageBox::questionYesNo( this, i18n("The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>").arg(name).arg(file) ) ) { |
215 | emit calendarAdded( id ); | 215 | emit calendarAdded( id ); |
216 | emit needsUpdate(); | 216 | emit needsUpdate(); |
217 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); | 217 | QTimer::singleShot( 0, this, SLOT ( readConfig() ) ); |
218 | QTimer::singleShot( 100, this, SIGNAL ( checkCalendar() ) ); | ||
218 | } | 219 | } |
219 | } | 220 | } |
220 | else | 221 | else |
221 | KMessageBox::information( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b>").arg(name).arg(file) ); | 222 | KMessageBox::information( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b>").arg(name).arg(file) ); |
@@ -378,8 +379,9 @@ void KOCalEditView::addCal() | |||
378 | kkf = KOPrefs::instance()->mCalendars.next(); | 379 | kkf = KOPrefs::instance()->mCalendars.next(); |
379 | } | 380 | } |
380 | } | 381 | } |
381 | addCalendar ( name, file ); | 382 | addCalendar ( name, file ); |
383 | QTimer::singleShot( 100, this, SIGNAL ( checkCalendar() ) ); | ||
382 | } | 384 | } |
383 | int KOCalEditView::addCalendar( QString name, QString file, bool ask ) | 385 | int KOCalEditView::addCalendar( QString name, QString file, bool ask ) |
384 | { | 386 | { |
385 | 387 | ||