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

List:       kde-commits
Subject:    KDE/kdepim/korganizer
From:       Sergio Luis Martins <iamsergio () gmail ! com>
Date:       2010-11-20 18:05:04
Message-ID: 20101120180504.90D3BAC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1199126 by smartins:

Fix kcalcore porting regression.
We want to know if the to-do has children, not parents.
Now the "To-do with cildren dialog" doesn't appear when deleting a to-do.

Reported by andras.
CCMAIL: amantia@kde.org

 M  +1 -1      calendarview.cpp  


--- trunk/KDE/kdepim/korganizer/calendarview.cpp #1199125:1199126
@@ -2521,7 +2521,7 @@
   }
 
   // it a simple todo, ask and delete it.
-  if ( todo->relatedTo().isEmpty() ) {
+  if ( mCalendar->findChildren( todoItem ).isEmpty() ) {
     bool doDelete = true;
     if ( !force && KOPrefs::instance()->mConfirm ) {
       doDelete = ( msgItemDelete( todoItem ) == KMessageBox::Yes );
[prev in list] [next in list] [prev in thread] [next in thread] 

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