-rw-r--r-- | korganizer/calendarview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 13cf69b..a62145a 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -1607,13 +1607,13 @@ bool CalendarView::importBday() | |||
1607 | #ifndef KORG_NOKABC | 1607 | #ifndef KORG_NOKABC |
1608 | 1608 | ||
1609 | #ifdef DESKTOP_VERSION | 1609 | #ifdef DESKTOP_VERSION |
1610 | int curCal = mCalendar->defaultCalendar(); | 1610 | int curCal = mCalendar->defaultCalendar(); |
1611 | int bd = mCalEditView->getBirtdayID(); | 1611 | int bd = mCalEditView->getBirtdayID(); |
1612 | if ( bd == 0 ) | 1612 | if ( bd == 0 ) |
1613 | return; | 1613 | return false; |
1614 | mCalendar->setDefaultCalendar( bd ); | 1614 | mCalendar->setDefaultCalendar( bd ); |
1615 | KABC::StdAddressBook* AddressBook = KABC::StdAddressBook::self( true ); | 1615 | KABC::StdAddressBook* AddressBook = KABC::StdAddressBook::self( true ); |
1616 | KABC::AddressBook::Iterator it; | 1616 | KABC::AddressBook::Iterator it; |
1617 | int count = 0; | 1617 | int count = 0; |
1618 | for( it = AddressBook->begin(); it != AddressBook->end(); ++it ) { | 1618 | for( it = AddressBook->begin(); it != AddressBook->end(); ++it ) { |
1619 | ++count; | 1619 | ++count; |