From 14d394e6c107b037a09a31a92605034fe50f7813 Mon Sep 17 00:00:00 2001 From: eilers Date: Fri, 08 Aug 2003 14:45:49 +0000 Subject: Merged branches from BRANCH_1_0 --- (limited to 'library/datebookdb.cpp') diff --git a/library/datebookdb.cpp b/library/datebookdb.cpp index 2f33255..000ff71 100644 --- a/library/datebookdb.cpp +++ b/library/datebookdb.cpp @@ -843,7 +843,7 @@ void DateBookDB::loadFile( const QString &strFile ) case FRWeekdays: // QtopiaDesktop 1.6 sometimes creates 'rweekdays="0"' // when it goes mad. This causes datebook to crash.. (se) - if ( value.toInt() != 0 ) + if ( value.toInt() != 0 ) rp.days = value.toInt(); else rp.days = 1; @@ -1040,7 +1040,7 @@ bool DateBookDB::removeRepeat( const Event &ev ) QValueListIterator it; for ( it = repeatEvents.begin(); it != repeatEvents.end(); ++it ) { if ( removeMe == (*it).repeatPattern().createTime ) { - repeatEvents.remove( *it ); + (void)repeatEvents.remove( it ); // best break, or we are going into undefined territory! return TRUE; } -- cgit v0.9.0.2