author | umopapisdn <umopapisdn> | 2003-05-13 22:58:18 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-05-13 22:58:18 (UTC) |
commit | 1e0e2f57472538bd880967ebe061c8f39a7e270b (patch) (unidiff) | |
tree | fcc070d53148385f93c0dc6ab5443d5100be0d26 /core/pim/datebook/datebookweek.h | |
parent | 45c0386de12b107e54e4d020d54eb05517a9efac (diff) | |
download | opie-1e0e2f57472538bd880967ebe061c8f39a7e270b.zip opie-1e0e2f57472538bd880967ebe061c8f39a7e270b.tar.gz opie-1e0e2f57472538bd880967ebe061c8f39a7e270b.tar.bz2 |
Bugfix: (Bug #0000902) Adding events in weekview shouldn't create them as events on the first day of the week but rather the last visited day.
Diffstat (limited to 'core/pim/datebook/datebookweek.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweek.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/datebook/datebookweek.h b/core/pim/datebook/datebookweek.h index 8c5e06d..c273e30 100644 --- a/core/pim/datebook/datebookweek.h +++ b/core/pim/datebook/datebookweek.h | |||
@@ -126,3 +126,3 @@ private slots: | |||
126 | void showDay( int day ); | 126 | void showDay( int day ); |
127 | void dateChanged( int y, int w ); | 127 | void dateChanged( QDate &newdate ); |
128 | void slotShowEvent( const EffectiveEvent & ); | 128 | void slotShowEvent( const EffectiveEvent & ); |
@@ -152,2 +152,3 @@ private: | |||
152 | int dow; | 152 | int dow; |
153 | QDate bdate; | ||
153 | DateBookWeekHeader *header; | 154 | DateBookWeekHeader *header; |
@@ -163,4 +164,3 @@ private: | |||
163 | 164 | ||
164 | bool calcWeek( const QDate &d, int &week, int &year, | 165 | bool calcWeek( const QDate &d, int &week, int &year, bool startOnMonday = false ); |
165 | bool startOnMonday = false ); | ||
166 | #endif | 166 | #endif |