summaryrefslogtreecommitdiffabout
path: root/korganizer/calendarview.cpp
authorzautrix <zautrix>2005-07-29 09:42:43 (UTC)
committer zautrix <zautrix>2005-07-29 09:42:43 (UTC)
commit8feb7e617f1aa5cd5bb04d9a69d05409c3c4c60d (patch) (side-by-side diff)
tree89646a8417d381dbebe158530fd0212d092b9365 /korganizer/calendarview.cpp
parentea12a774c5a36a4bd96ac53c36e92560989e3cbc (diff)
downloadkdepimpi-8feb7e617f1aa5cd5bb04d9a69d05409c3c4c60d.zip
kdepimpi-8feb7e617f1aa5cd5bb04d9a69d05409c3c4c60d.tar.gz
kdepimpi-8feb7e617f1aa5cd5bb04d9a69d05409c3c4c60d.tar.bz2
chechalarm fix
Diffstat (limited to 'korganizer/calendarview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp6
1 files changed, 5 insertions, 1 deletions
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()
{