summaryrefslogtreecommitdiff
path: root/core/pim/datebook
Side-by-side diff
Diffstat (limited to 'core/pim/datebook') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp
index 1bc82a5..829f8f8 100644
--- a/core/pim/datebook/datebook.cpp
+++ b/core/pim/datebook/datebook.cpp
@@ -279,2 +279,3 @@ void DateBook::slotSettings()
if ( frmSettings.exec() ) {
+
aPreset = frmSettings.alarmPreset();
@@ -284,3 +285,4 @@ void DateBook::slotSettings()
rowStyle = frmSettings.rowStyle();
- if ( dayView )
+
+ if ( dayView ) {
dayView->setStartViewTime( startTime );
@@ -288,4 +290,6 @@ void DateBook::slotSettings()
dayView->setRowStyle( rowStyle );
- if ( weekView )
+ }
+ if ( weekView ) {
weekView->setStartViewTime( startTime );
+ }
saveSettings();
@@ -550,2 +554,3 @@ void DateBook::initWeek()
}
+
//But also get it right: the year that we display can be different
@@ -553,3 +558,2 @@ void DateBook::initWeek()
//number of the current week.
-
int yearNumber, totWeeks;
@@ -567,2 +571,3 @@ void DateBook::initWeek()
}
+
void DateBook::initWeekLst() {