From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/compat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libkcal/compat.cpp') diff --git a/libkcal/compat.cpp b/libkcal/compat.cpp index 8268f978..5b5c6a5a 100644 --- a/libkcal/compat.cpp +++ b/libkcal/compat.cpp @@ -217,7 +217,7 @@ void CompatPre31::fixRecurrence( Incidence *incidence ) TQValueList months = r->byMonths(); for ( TQValueListConstIterator it = days.begin(); it != days.end(); ++it ) { int newmonth = TQDate( r->startDt().date().year(), 1, 1).addDays( (*it) - 1 ).month(); - if ( !months.contains( newmonth ) ) + if ( !months.tqcontains( newmonth ) ) months.append( newmonth ); } r->setByMonths( months ); -- cgit v1.2.3