summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-27 23:16:05 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-27 23:16:05 -0500
commitc94de3afa90f38fab67604732a4540b768a007b8 (patch)
treed54c831ee3b4a6fb395328c3fc8e7d588311b440 /korganizer
parenta2a1f1a0ad7d3fa017c587bfe7f92143e3a36048 (diff)
downloadtdepim-c94de3afa90f38fab67604732a4540b768a007b8.tar.gz
tdepim-c94de3afa90f38fab67604732a4540b768a007b8.zip
GCC 4.7 fix.
This partially resolves bug report 958. Thanks to David C. Rankin.
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/korgac/alarmdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/korgac/alarmdialog.cpp b/korganizer/korgac/alarmdialog.cpp
index bf9c29a2e..9f711d609 100644
--- a/korganizer/korgac/alarmdialog.cpp
+++ b/korganizer/korgac/alarmdialog.cpp
@@ -498,9 +498,9 @@ void AlarmDialog::eventNotification()
found = true;
item->mNotified = true;
Alarm::List alarms = incidence->alarms();
- Alarm::List::ConstIterator it;
- for ( it = alarms.begin(); it != alarms.end(); ++it ) {
- Alarm *alarm = *it;
+ Alarm::List::ConstIterator c_it;
+ for ( c_it = alarms.begin(); c_it != alarms.end(); ++c_it ) {
+ Alarm *alarm = *c_it;
// FIXME: Check whether this should be done for all multiple alarms
if (alarm->type() == Alarm::Procedure) {
// FIXME: Add a message box asking whether the procedure should really be executed