author | hakan <hakan> | 2002-03-09 13:07:57 (UTC) |
---|---|---|
committer | hakan <hakan> | 2002-03-09 13:07:57 (UTC) |
commit | 62c21e8bdbb365a64f05dd363a98abd7fc1f0558 (patch) (unidiff) | |
tree | bde5aec77cc0c22a4240b16f0fc4acc41b2d162f /core/pim/datebook/datebookweeklst.cpp | |
parent | 603e969bb8cef91534a1785e27106ba71eb03ba6 (diff) | |
download | opie-62c21e8bdbb365a64f05dd363a98abd7fc1f0558.zip opie-62c21e8bdbb365a64f05dd363a98abd7fc1f0558.tar.gz opie-62c21e8bdbb365a64f05dd363a98abd7fc1f0558.tar.bz2 |
Fixed today-button to show default view
Diffstat (limited to 'core/pim/datebook/datebookweeklst.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp index 05e36be..dc141c0 100644 --- a/core/pim/datebook/datebookweeklst.cpp +++ b/core/pim/datebook/datebookweeklst.cpp | |||
@@ -46,7 +46,7 @@ DateBookWeekLstHeader::DateBookWeekLstHeader(bool onM, QWidget* parent, | |||
46 | onMonday=onM; | 46 | onMonday=onM; |
47 | } | 47 | } |
48 | DateBookWeekLstHeader::~DateBookWeekLstHeader(){} | 48 | DateBookWeekLstHeader::~DateBookWeekLstHeader(){} |
49 | void DateBookWeekLstHeader::setDate(QDate d) { | 49 | void DateBookWeekLstHeader::setDate(const QDate &d) { |
50 | date=d; | 50 | date=d; |
51 | 51 | ||
52 | int year,week; | 52 | int year,week; |
@@ -242,7 +242,7 @@ DateBookWeekLst::DateBookWeekLst( bool ap, bool onM, DateBookDB *newDB, | |||
242 | } | 242 | } |
243 | 243 | ||
244 | 244 | ||
245 | void DateBookWeekLst::setDate( QDate &d ) { | 245 | void DateBookWeekLst::setDate(const QDate &d) { |
246 | int w,y; | 246 | int w,y; |
247 | calcWeek(d,w,y,onMonday); | 247 | calcWeek(d,w,y,onMonday); |
248 | year=y; | 248 | year=y; |