[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal
From:       Sergio Luis Martins <iamsergio () gmail ! com>
Date:       2010-05-26 15:17:17
Message-ID: 20100526151717.4D4BAAC8C0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1130832 by smartins:

set relatedToUid() to 0, it has an illegal parent.


 M  +1 -0      calendar.cpp  


--- trunk/KDE/kdepimlibs/kcal/calendar.cpp #1130831:1130832
@@ -975,6 +975,7 @@
 
       // look for hierarchy loops
       if ( isAncestorOf( forincidence, parent ) ) {
+        forincidence->setRelatedToUid( QString() );
         kWarning() << "hierarchy loop beetween " << forincidence->uid() << " and " << parent->uid();
       } else {
         forincidence->setRelatedTo( parent );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic