From kde-commits Fri Mar 25 21:22:07 2005 From: Allen Winter Date: Fri, 25 Mar 2005 21:22:07 +0000 To: kde-commits Subject: kdepim Message-Id: <20050325212207.D558D626 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111178573420407 CVS commit by winterz: Explicit timezoneId (UTC) passed to Calendar constructors. M +1 -1 kfile-plugins/ics/kfile_ics.cpp 1.5 M +2 -1 kitchensync/kitchensync/debugger/debugger.cpp 1.25 M +1 -1 konsolekalendar/konsolekalendar.cpp 1.55 M +2 -2 ksync/lib/calendarsyncee.cpp 1.8 --- kdepim/kfile-plugins/ics/kfile_ics.cpp #1.4:1.5 @@ -60,5 +60,5 @@ bool ICSPlugin::readInfo( KFileMetaInfo& KFileMetaInfoGroup group = appendGroup( info, "ICSInfo"); - CalendarLocal cal; + CalendarLocal cal ( QString::fromLatin1( "UTC" ) ); if( !cal.load( info.path() ) ) { kdDebug() << "Could not load calendar" << endl; --- kdepim/kitchensync/kitchensync/debugger/debugger.cpp #1.24:1.25 @@ -76,5 +76,6 @@ class CustomComboBox : public QComboBox Debugger::Debugger( QWidget *parent, const char *name, QObject *, const char *,const QStringList & ) - : ActionPart( parent, name ), m_widget( 0 ) + : ActionPart( parent, name ), m_widget( 0 ), + mCalendar( QString::fromLatin1( "UTC" ) ) { m_pixmap = KGlobal::iconLoader()->loadIcon("package_settings", KIcon::Desktop, 48 ); --- kdepim/konsolekalendar/konsolekalendar.cpp #1.54:1.55 @@ -80,5 +80,5 @@ bool KonsoleKalendar::createCalendar() { bool status = false; - CalendarLocal newCalendar; + CalendarLocal newCalendar( QString::fromLatin1("UTC") ); if ( m_variables->isDryRun() ) { --- kdepim/ksync/lib/calendarsyncee.cpp #1.7:1.8 @@ -61,5 +61,5 @@ bool CalendarSyncEntry::equals(KSyncEntr CalendarSyncee::CalendarSyncee() { - mCalendar = new CalendarLocal; + mCalendar = new CalendarLocal( QString::fromLatin1( "UTC" ) ); mEntries.setAutoDelete(true);