summaryrefslogtreecommitdiffabout
path: root/korganizer/calendarview.cpp
Unidiff
Diffstat (limited to 'korganizer/calendarview.cpp') (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
@@ -2670,20 +2670,20 @@ void CalendarView::edit_global_options()
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()