author | zautrix <zautrix> | 2004-10-07 08:21:07 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-07 08:21:07 (UTC) |
commit | 9345818e9c291130691288e4b065190259eb4e01 (patch) (unidiff) | |
tree | 860b8666dc71fc34819e380bda48ec3427aee822 /korganizer | |
parent | f1699230250cdfb37216121257196b5be9f094fa (diff) | |
download | kdepimpi-9345818e9c291130691288e4b065190259eb4e01.zip kdepimpi-9345818e9c291130691288e4b065190259eb4e01.tar.gz kdepimpi-9345818e9c291130691288e4b065190259eb4e01.tar.bz2 |
did I chanhe something?
-rw-r--r-- | korganizer/calendarview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index d71ea08..1d62046 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -1423,30 +1423,30 @@ void CalendarView::insertBirthdays(const QString& uid, const QStringList& birthd | |||
1423 | QString assembledName; | 1423 | QString assembledName; |
1424 | QString uid; | 1424 | QString uid; |
1425 | bool ok = true; | 1425 | bool ok = true; |
1426 | for ( int i = 0; i < count; i++) | 1426 | for ( int i = 0; i < count; i++) |
1427 | { | 1427 | { |
1428 | if ( ! bar.isVisible() ) | 1428 | if ( ! bar.isVisible() ) |
1429 | return; | 1429 | return; |
1430 | bar.setProgress( i ); | 1430 | bar.setProgress( i ); |
1431 | qApp->processEvents(); | 1431 | qApp->processEvents(); |
1432 | 1432 | ||
1433 | birthday = KGlobal::locale()->readDate(birthdayList[i], KLocale::ISODate, &ok); | 1433 | birthday = KGlobal::locale()->readDate(birthdayList[i], KLocale::ISODate, &ok); |
1434 | if (!ok) { | 1434 | if (!ok) { |
1435 | ; //qDebug("CalendarView::insertBirthdays found invalid birthday: %s",birthdayList[i].latin1()); | 1435 | ;//qDebug("CalendarView::insertBirthdays found invalid birthday: %s",birthdayList[i].latin1()); |
1436 | } | 1436 | } |
1437 | 1437 | ||
1438 | anniversary = KGlobal::locale()->readDate(anniversaryList[i], KLocale::ISODate, &ok); | 1438 | anniversary = KGlobal::locale()->readDate(anniversaryList[i], KLocale::ISODate, &ok); |
1439 | if (!ok) { | 1439 | if (!ok) { |
1440 | ;// qDebug("CalendarView::insertBirthdays found invalid anniversary: %s",anniversaryList[i].latin1()); | 1440 | ;//qDebug("CalendarView::insertBirthdays found invalid anniversary: %s",anniversaryList[i].latin1()); |
1441 | } | 1441 | } |
1442 | realName = realNameList[i]; | 1442 | realName = realNameList[i]; |
1443 | email = emailList[i]; | 1443 | email = emailList[i]; |
1444 | assembledName = assembledNameList[i]; | 1444 | assembledName = assembledNameList[i]; |
1445 | uid = uidList[i]; | 1445 | uid = uidList[i]; |
1446 | //qDebug("insert birthday in KO/Pi: %s,%s,%s,%s: %s, %s", realName.latin1(), email.latin1(), assembledName.latin1(), uid.latin1(), birthdayList[i].latin1(), anniversaryList[i].latin1() ); | 1446 | //qDebug("insert birthday in KO/Pi: %s,%s,%s,%s: %s, %s", realName.latin1(), email.latin1(), assembledName.latin1(), uid.latin1(), birthdayList[i].latin1(), anniversaryList[i].latin1() ); |
1447 | 1447 | ||
1448 | if ( birthday.isValid() ){ | 1448 | if ( birthday.isValid() ){ |
1449 | a = new KCal::Attendee( realName, email,false,KCal::Attendee::NeedsAction, | 1449 | a = new KCal::Attendee( realName, email,false,KCal::Attendee::NeedsAction, |
1450 | KCal::Attendee::ReqParticipant,uid) ; | 1450 | KCal::Attendee::ReqParticipant,uid) ; |
1451 | if ( addAnniversary( birthday, assembledName, a, true ) ) | 1451 | if ( addAnniversary( birthday, assembledName, a, true ) ) |
1452 | ++addCount; | 1452 | ++addCount; |