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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/libkcal
From:       Allen Winter <winter () kde ! org>
Date:       2008-06-30 12:07:36
Message-ID: 1214827656.202975.20879.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 826312 by winterz:

backport SVN commit 825608 by winterz:

Fix (hopefully, because I have no way to test) all-day events imported from OpenGroupware


 M  +1 -6      icalformatimpl.cpp  


--- branches/KDE/3.5/kdepim/libkcal/icalformatimpl.cpp #826311:826312
@@ -1036,14 +1036,9 @@
   }
 
   QString msade = event->nonKDECustomProperty("X-MICROSOFT-CDO-ALLDAYEVENT");
-  if (!msade.isNull()) {
+  if (!msade.isEmpty()) {
     bool floats = (msade == QString::fromLatin1("TRUE"));
-//    kdDebug(5800) << "ICALFormat::readEvent(): all day event: " << floats << endl;
     event->setFloats(floats);
-    if (floats) {
-      QDateTime endDate = event->dtEnd();
-      event->setDtEnd(endDate.addDays(-1));
-    }
   }
 
   if ( mCompat ) mCompat->fixEmptySummary( event );
[prev in list] [next in list] [prev in thread] [next in thread] 

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