[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-03-17 10:13:25
Message-ID: 20040317101325.83D0A999A () office ! kde ! org
[Download RAW message or body]

CVS commit by adridg: 

More debugging, while looking for the timezone bug


  M +7 -2      vcal-conduitbase.cc   1.58
  M +10 -3     vcal-setupbase.cc   1.3


--- kdepim/kpilot/conduits/vcalconduit/vcal-conduitbase.cc  #1.57:1.58
@@ -183,5 +183,4 @@ there are two special cases: a full and 
 #endif
 
-        addSyncLogEntry(i18n("Syncing with file \"%1\"").arg(config()->calendarFile()));
         pilotindex=0;
         switch (getSyncDirection())
@@ -235,4 +234,8 @@ error:
         KCal::CalendarResources *rescal = 0L;
 
+#ifdef DEBUG
+        DEBUGCONDUIT << fname << ": Got calendar type " << config()->calendarType() << endl;
+#endif
+
         switch(config()->calendarType())
         {
@@ -287,4 +290,5 @@ error:
                                 fFirstSync=true;
                         }
+                        addSyncLogEntry(i18n("Syncing with file \"%1\"").arg(config()->calendarFile()));
                         break;
 
@@ -303,4 +307,5 @@ error:
                         rescal->readConfig();
                         rescal->load();
+                        addSyncLogEntry(i18n("Syncing with standard calendar resource."));
                         break;
                 default:

--- kdepim/kpilot/conduits/vcalconduit/vcal-setupbase.cc  #1.2:1.3
@@ -70,4 +70,11 @@ VCalWidgetSetupBase::~VCalWidgetSetupBas
         
         // General page
+#ifdef DEBUG
+        DEBUGCONDUIT << fname << ": Selected type="
+                << fConfigWidget->fSyncDestination->selected()
+                << " with id="
+                << fConfigWidget->fSyncDestination->id(fConfigWidget->fSyncDestination->selected())
+                << endl;
+#endif
         config()->setCalendarType( fConfigWidget->fSyncDestination->id(
                         fConfigWidget->fSyncDestination->selected()));


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

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