summaryrefslogtreecommitdiffabout
path: root/korganizer/calendarview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/calendarview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index bc8625d..3635cfa 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -65,2 +65,3 @@
#include <libkdepim/ksyncprofile.h>
+#include <libkdepim/kpimglobalprefs.h>
@@ -1886,4 +1887,6 @@ void CalendarView::goPreviousMonth()
}
-void CalendarView::writeLocale()
+void CalendarView::writeLocale()
{
+ //KPimGlobalPrefs::instance()->setGlobalConfig();
+#if 0
KGlobal::locale()->setHore24Format( !KOPrefs::instance()->mPreferredTime );
@@ -1900,2 +1903,3 @@ void CalendarView::writeLocale()
KGlobal::locale()->setTimezone( KOPrefs::instance()->mTimeZoneId );
+#endif
}