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

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal
From:       Allen Winter <winter () kde ! org>
Date:       2010-05-26 23:57:24
Message-ID: 20100527000314.0CC1BAC8C0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1131005 by winterz:

fix a crash that can happen when formatting an invitation with a cancel
request but the invitation is empty.
BUG: 238945
MERGE: 3.5,4.4


 M  +2 -0      incidenceformatter.cpp  


--- trunk/KDE/kdepimlibs/kcal/incidenceformatter.cpp #1131004:1131005
@@ -2647,6 +2647,7 @@
 
     case iTIPCancel:
       // Remove invitation
+      if ( inc ) {
       html += tdOpen;
       if ( inc->type() == "Todo" ) {
         html += helper->makeLink( "cancel",
@@ -2656,6 +2657,7 @@
                                   i18n( "Remove invitation from my calendar" ) );
       }
       html += tdClose;
+      }
       break;
 
     case iTIPReply:
[prev in list] [next in list] [prev in thread] [next in thread] 

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