summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/alarmdialog.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-27 23:16:05 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:25:18 +0200
commit9c066e9107a8f9bf75064be1e9d25edbe218893f (patch)
tree58ad8392e5ab321ff754b6845f3e807ed4b9265b /korganizer/korgac/alarmdialog.cpp
parent7a135f8461e9212898c03bf0ca17714ab38d0f86 (diff)
downloadtdepim-9c066e9107a8f9bf75064be1e9d25edbe218893f.tar.gz
tdepim-9c066e9107a8f9bf75064be1e9d25edbe218893f.zip
GCC 4.7 fix.
This partially resolves bug report 958. Thanks to David C. Rankin. (cherry picked from commit c94de3afa90f38fab67604732a4540b768a007b8)
Diffstat (limited to 'korganizer/korgac/alarmdialog.cpp')
-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 1d0397197..363d6556f 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