summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/komonthview.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index 9888566..6294b98 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -692,7 +692,3 @@ void MonthViewCell::resizeEvent ( QResizeEvent * )
return;
-#ifndef DESKTOP_VERSION
- if ( !isVisible() ){
- return;
- }
-#endif
+
int size = height() - mLabel->height() - 2;
@@ -843,2 +839,4 @@ void KOMonthView::switchView()
{
+ if ( selectedCell( ) )
+ selectedCell()->deselect();
mShowWeekView = !mShowWeekView;
@@ -1161,2 +1159,3 @@ void KOMonthView::computeLayoutWeek()
x = 0;
+ w = colWid;
}
@@ -1165,3 +1164,3 @@ void KOMonthView::computeLayoutWeek()
if ( i >= 5 ) {
- mDayLabels[i]->setGeometry( x+weeklabelwid,y,w/2,h);
+ mDayLabels[i]->setGeometry( x+weeklabelwid,y,w/2+1,h);
x -= w/2 ;