summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--desktop/rpm/kdepim_rpm2
-rw-r--r--korganizer/koagendaview.cpp11
-rw-r--r--version2
3 files changed, 7 insertions, 8 deletions
diff --git a/desktop/rpm/kdepim_rpm b/desktop/rpm/kdepim_rpm
index 9093b40..f75cd48 100644
--- a/desktop/rpm/kdepim_rpm
+++ b/desktop/rpm/kdepim_rpm
@@ -1,7 +1,7 @@
Summary: A collection of PIM programs
Name: KDE-Pim-Pi
-Version: 2.0.1
+Version: 2.0.2
Release: SuSE_9.2
Copyright:GPL
Group: Productivity/Pim
Source:http://sourceforge.net/projects/kdepimpi/
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index 8c27c43..d3db89a 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -622,9 +622,9 @@ void KOAgendaView::slotDaylabelClicked()
else
emit showDateView( 3, firstDate.addDays( cap.toInt()-1 ) );
}
else
- showDateView( 10, firstDate.addDays(1 ) );
+ showDateView( 10, firstDate.addDays(1) );
}
QPushButton* KOAgendaView::getNewDaylabel()
{
@@ -661,9 +661,10 @@ void KOAgendaView::createDayLabels()
QFont dlf = KOPrefs::instance()->mTimeLabelsFont;
QFontMetrics fm ( dlf );
int selCount = mSelectedDates.count();
- QString dayTest = "Mon 20";
+ QString dayTest = "Won 20";
+ //QString dayTest = "Mon 20";
int wid = fm.width( dayTest );
//maxWid -= ( selCount * 3 ); //working for QLabels
maxWid -= ( selCount * 5 ); //working for QPushButton
if ( maxWid < 0 )
@@ -673,9 +674,9 @@ void KOAgendaView::createDayLabels()
//if ( needWid > maxWid )
// qDebug("DAYLABELS TOOOOOOO BIG ");
while ( needWid > maxWid ) {
dayTest = dayTest.left( dayTest.length() - 1 );
- wid = fm.width( dayTest );
+ wid = fm.width( dayTest )+1;
needWid = wid * selCount;
}
int maxLen = dayTest.length();
int fontPoint = dlf.pointSize();
@@ -684,9 +685,9 @@ void KOAgendaView::createDayLabels()
while ( fontPoint > 4 ) {
--fontPoint;
dlf.setPointSize( fontPoint );
QFontMetrics f( dlf );
- wid = f.width( "20" )+2;
+ wid = f.width( "30" )+3;
needWid = wid * selCount;
if ( needWid < maxWid )
break;
}
@@ -996,10 +997,8 @@ void KOAgendaView::updateEventDates(KOAgendaItem *item, int type)
endDt.setDate(startDate);
}
}
}
-
- qDebug("to888");
if ( item->incidence()->type() == "Event" ) {
item->incidence()->setDtStart(startDt);
(static_cast<Event*>(item->incidence()))->setDtEnd(endDt);
} else if ( item->incidence()->type() == "Todo" ) {
diff --git a/version b/version
index 628b450..79c0ab5 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-version = "2.0.1";
+version = "2.0.2";