From 8feb7e617f1aa5cd5bb04d9a69d05409c3c4c60d Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 29 Jul 2005 09:42:43 +0000 Subject: chechalarm fix --- (limited to 'korganizer') diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index a9d42f0..28649d9 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -837,7 +837,11 @@ void CalendarView::checkFiles() message = KGlobal::formatMessage( i18n("Calendar(s) not loaded:"),0 )+"\n" + message +KGlobal::formatMessage(i18n("You can try to reload the calendar in the Resource View!"),0); KMessageBox::error(this,message, i18n("Loding of calendar(s) failed")); } - QTimer::singleShot( 2000, this, SLOT ( checkAlarms() )); + static bool firstTime = true; + if ( firstTime ) { + firstTime = false; + QTimer::singleShot( 2000, this, SLOT ( checkAlarms() )); + } } void CalendarView::checkAlarms() { -- cgit v0.9.0.2