summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-27 05:42:05 (UTC)
committer zautrix <zautrix>2005-06-27 05:42:05 (UTC)
commit16d3551a207f02679aeaeb943f00684db223934d (patch) (side-by-side diff)
tree79e42304c0249c8ae78ad40ec7b88b0f42a839dd
parentfe17413ed808afb7b3e722e1f2ea9a5381a44955 (diff)
downloadkdepimpi-16d3551a207f02679aeaeb943f00684db223934d.zip
kdepimpi-16d3551a207f02679aeaeb943f00684db223934d.tar.gz
kdepimpi-16d3551a207f02679aeaeb943f00684db223934d.tar.bz2
compile fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp2
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
@@ -1601,25 +1601,25 @@ void CalendarView::syncExternal( int mode )
return ;//syncOK;
}
bool CalendarView::importBday()
{
#ifndef KORG_NOKABC
#ifdef DESKTOP_VERSION
int curCal = mCalendar->defaultCalendar();
int bd = mCalEditView->getBirtdayID();
if ( bd == 0 )
- return;
+ return false;
mCalendar->setDefaultCalendar( bd );
KABC::StdAddressBook* AddressBook = KABC::StdAddressBook::self( true );
KABC::AddressBook::Iterator it;
int count = 0;
for( it = AddressBook->begin(); it != AddressBook->end(); ++it ) {
++count;
}
QProgressBar bar(count,0 );
int w = 300;
if ( QApplication::desktop()->width() < 320 )
w = 220;
int h = bar.sizeHint().height() ;