summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-03-29 12:14:44 (UTC)
committer zautrix <zautrix>2005-03-29 12:14:44 (UTC)
commit894717798a8d129f4b991a2fe856d2f1e8e9624a (patch) (unidiff)
treefd28b6e3855d0f684bc9f341e60a0c1d0d50cd56 /korganizer
parent4af444fb7071d37c966f002f4971d209971679c9 (diff)
downloadkdepimpi-894717798a8d129f4b991a2fe856d2f1e8e9624a.zip
kdepimpi-894717798a8d129f4b991a2fe856d2f1e8e9624a.tar.gz
kdepimpi-894717798a8d129f4b991a2fe856d2f1e8e9624a.tar.bz2
fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/datenavigatorcontainer.cpp2
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
@@ -125,9 +125,9 @@ void DateNavigatorContainer::computeMonthSelected( int month , bool forceEmit )
125 return; 125 return;
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 );
133 QDate last = lastAvailableDate(); 133 QDate last = lastAvailableDate();