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

List:       kde-commits
Subject:    kdepim/kpilot/conduits/vcalconduit
From:       Adriaan de Groot <groot () kde ! org>
Date:       2004-05-16 0:10:06
Message-ID: 20040516001006.7B8497AFF () office ! kde ! org
[Download RAW message or body]

CVS commit by adridg: 

Possible patch for 80238 / 77940 / 69987 / 67328, thanks to Joern A.


  M +3 -1      vcal-conduit.cc   1.101


--- kdepim/kpilot/conduits/vcalconduit/vcal-conduit.cc  #1.100:1.101
@@ -115,4 +115,6 @@ KCal::Incidence *VCalConduitPrivate::get
                 reading=true;
                 fAllEventsIterator = fAllEvents.begin();
+                // Handle case of empty list.
+                if ( fAllEventsIterator == fAllEvents.end() ) return 0;
         }
         return *fAllEventsIterator;


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

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