author | zautrix <zautrix> | 2005-03-29 12:14:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-29 12:14:44 (UTC) |
commit | 894717798a8d129f4b991a2fe856d2f1e8e9624a (patch) (unidiff) | |
tree | fd28b6e3855d0f684bc9f341e60a0c1d0d50cd56 /korganizer | |
parent | 4af444fb7071d37c966f002f4971d209971679c9 (diff) | |
download | kdepimpi-894717798a8d129f4b991a2fe856d2f1e8e9624a.zip kdepimpi-894717798a8d129f4b991a2fe856d2f1e8e9624a.tar.gz kdepimpi-894717798a8d129f4b991a2fe856d2f1e8e9624a.tar.bz2 |
fix
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index edeebdf..27ba9e0 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp | |||
@@ -126,7 +126,7 @@ void DateNavigatorContainer::computeMonthSelected( int month , bool forceEmit ) | |||
126 | //qDebug("month %d %d ",baseDate.month(),month); | 126 | //qDebug("month %d %d ",baseDate.month(),month); |
127 | QDate date = QDate ( baseDate.year(), baseDate.month() , 15 ); | 127 | QDate date = QDate ( baseDate.year(), baseDate.month() , 15 ); |
128 | date = date.addDays( -(baseDate.month()-month ) *30 ); | 128 | date = date.addDays( -(baseDate.month()-month ) *30 ); |
129 | QDate newBase = QDate ( date.year(), date.month() , baseDate.day() ); | 129 | QDate newBase = QDate ( date.year(), date.month() ,1 ); |
130 | 130 | ||
131 | //qDebug("NEW BASE %s", newBase.toString().latin1()); | 131 | //qDebug("NEW BASE %s", newBase.toString().latin1()); |
132 | mNavigatorView->setBaseDate( newBase ); | 132 | mNavigatorView->setBaseDate( newBase ); |