[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/akonadi/kcal (silent)
From: Sergio Luis Martins <iamsergio () gmail ! com>
Date: 2010-01-31 22:03:19
Message-ID: 1264975399.807331.28363.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1083246 by smartins:
SVN_SILENT
Ident an if block.
Do not backport.
M +5 -5 calendar.cpp
--- trunk/KDE/kdepim/akonadi/kcal/calendar.cpp #1083245:1083246
@@ -301,7 +301,7 @@
{
assertInvariants();
//kDebug()<<items.count();
- foreach(const Item& item, items) {
+ foreach( const Item& item, items ) {
Q_ASSERT( item.isValid() );
Item ci( m_itemMap.take( item.id() ) );
kDebug()<<item.id();
@@ -309,10 +309,10 @@
const KCal::Incidence::Ptr incidence = ci.payload<KCal::Incidence::Ptr>();
kDebug() << "Remove uid=" << incidence->uid() << "summary=" << \
incidence->summary() << "type=" << incidence->type();
- if( const KCal::Event::Ptr e = dynamic_pointer_cast<KCal::Event>(incidence) \
) {
- if ( !e->recurs() ) {
+ if( const KCal::Event::Ptr e = dynamic_pointer_cast<KCal::Event>( incidence \
) ) { + if ( !e->recurs() ) {
m_itemsForDate.remove( e->dtStart().date().toString(), item );
- }
+ }
} else if( const KCal::Todo::Ptr t = dynamic_pointer_cast<KCal::Todo>( \
incidence ) ) { if ( t->hasDueDate() ) {
m_itemsForDate.remove( t->dtDue().date().toString(), item );
@@ -320,7 +320,7 @@
} else if( const KCal::Journal::Ptr j = dynamic_pointer_cast<KCal::Journal>( \
incidence ) ) { m_itemsForDate.remove( j->dtStart().date().toString(), item );
} else {
- Q_ASSERT(false);
+ Q_ASSERT( false );
continue;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic