[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-10-02 12:04:31
Message-ID: 20041002120431.51A05126E1 () office ! kde ! org
[Download RAW message or body]
CVS commit by adridg:
Debugging, bail on libkcal version
M +19 -1 vcal-conduitbase.cc 1.72
--- kdepim/kpilot/conduits/vcalconduit/vcal-conduitbase.cc #1.71:1.72
@@ -197,5 +197,18 @@ error:
}
+#ifdef DEBUG
+static void listResources(KCal::CalendarResources *p)
+{
+ FUNCTIONSETUP;
+ KCal::CalendarResourceManager *manager = p->resourceManager();
+ DEBUGCONDUIT << fname << ": Resources in calendar:" << endl;
+ KCal::CalendarResourceManager::Iterator it;
+ for( it = manager->begin(); it != manager->end(); ++it )
+ {
+ DEBUGCONDUIT << fname << ": " << (*it)->resourceName() << endl;
+ }
+}
+#endif
/* virtual */ bool VCalConduitBase::openCalendar()
@@ -313,4 +326,7 @@ error:
#endif
rescal = new KCal::CalendarResources( tz );
+#ifdef DEBUG
+ listResources(rescal);
+#endif
fCalendar = rescal;
if ( !fCalendar)
@@ -323,4 +339,6 @@ error:
rescal->readConfig();
rescal->load();
+#else
+#error "Timezone bug is present."
#endif
addSyncLogEntry(i18n("Syncing with standard calendar resource."));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic