summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-06-27 05:12:12 (UTC)
committer zautrix <zautrix>2005-06-27 05:12:12 (UTC)
commitfe17413ed808afb7b3e722e1f2ea9a5381a44955 (patch) (unidiff)
tree33b23a8e2429d934ace835f46d194b9aed5dd57f /korganizer
parent9b2bf31715226dfa8210f31843616a04f810f012 (diff)
downloadkdepimpi-fe17413ed808afb7b3e722e1f2ea9a5381a44955.zip
kdepimpi-fe17413ed808afb7b3e722e1f2ea9a5381a44955.tar.gz
kdepimpi-fe17413ed808afb7b3e722e1f2ea9a5381a44955.tar.bz2
tz fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index f179c58..13cf69b 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -2660,40 +2660,40 @@ void CalendarView::edit_paste()
2660{ 2660{
2661 QDate date = mNavigator->selectedDates().first(); 2661 QDate date = mNavigator->selectedDates().first();
2662 2662
2663 DndFactory factory( mCalendar ); 2663 DndFactory factory( mCalendar );
2664 Event *pastedEvent = (Event *)factory.pasteIncidence( date ); 2664 Event *pastedEvent = (Event *)factory.pasteIncidence( date );
2665 2665
2666 changeEventDisplay( pastedEvent, KOGlobals::EVENTADDED ); 2666 changeEventDisplay( pastedEvent, KOGlobals::EVENTADDED );
2667} 2667}
2668void CalendarView::edit_global_options() 2668void CalendarView::edit_global_options()
2669{ 2669{
2670 QString tz = KPimGlobalPrefs::instance()->mTimeZoneId; 2670 QString tz = KPimGlobalPrefs::instance()->mTimeZoneId;
2671 emit save(); 2671 emit save();
2672 emit saveStopTimer(); 2672 emit saveStopTimer();
2673 mDialogManager->showGlobalOptionsDialog(); 2673 mDialogManager->showGlobalOptionsDialog();
2674 if ( tz != KPimGlobalPrefs::instance()->mTimeZoneId) { 2674 if ( tz != KPimGlobalPrefs::instance()->mTimeZoneId) {
2675 emit saveStopTimer(); 2675 emit saveStopTimer();
2676 if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, i18n("The timezone has changed!\nShould the calendar be reloaded\nto apply timezone changes?\nPlease read Menu: Help->FAQ:\n\"How do I change the timezone?\"\nas well!"), 2676 if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, i18n("The timezone has changed!\nShould the calendar be reloaded\nto shift the time of the events?\nPlease read Menu: Help->FAQ:\n\"How do I change the timezone?\"\nas well!"),
2677 i18n("Timezone settings"),i18n("Reload"))) { 2677 i18n("Timezone settings"),i18n("Reload"))) {
2678 qDebug("KO: TZ reload cancelled "); 2678 qDebug("KO: TZ reload cancelled ");
2679 mCalendar->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); 2679 mCalendar->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId);
2680 return; 2680 return;
2681 } 2681 }
2682 qDebug("KO: Timezone change "); 2682 qDebug("KO: Timezone change ");
2683 openCalendar( MainWindow::defaultFileName() ); 2683 loadCalendars();
2684 setModified(true); 2684 setModified(true);
2685 } 2685 }
2686 else 2686 else
2687 qDebug("KO: No tz change "); 2687 qDebug("KO: No tz change ");
2688} 2688}
2689void CalendarView::edit_options() 2689void CalendarView::edit_options()
2690{ 2690{
2691 mDialogManager->showOptionsDialog(); 2691 mDialogManager->showOptionsDialog();
2692} 2692}
2693 2693
2694 2694
2695void CalendarView::slotSelectPickerDate( QDate d) 2695void CalendarView::slotSelectPickerDate( QDate d)
2696{ 2696{
2697 mDateFrame->hide(); 2697 mDateFrame->hide();
2698 if ( mDatePickerMode == 1 ) { 2698 if ( mDatePickerMode == 1 ) {
2699 mNavigator->slotDaySelect( d ); 2699 mNavigator->slotDaySelect( d );