-rw-r--r-- | korganizer/komonthview.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index f558084..ddac6e4 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp | |||
@@ -248,7 +248,7 @@ void MonthViewItem::paint(QPainter *p) | |||
248 | int yyy = y+(size/2); | 248 | int yyy = y+(size/2); |
249 | int sizeM = size+2; | 249 | int sizeM = size+2; |
250 | p->setBrush( QBrush::SolidPattern ); | 250 | p->setBrush( QBrush::SolidPattern ); |
251 | p->drawLine ( x+sizeM/2, yyy, x +sizeM +sizeM/2-2, yyy ) ; | 251 | p->drawLine ( x+1, yyy, x +sizeM +sizeM/2-1, yyy ) ; |
252 | if ( mMultiday == 2 || mMultiday == 3 ) { | 252 | if ( mMultiday == 2 || mMultiday == 3 ) { |
253 | QPointArray pa ( 3 ); | 253 | QPointArray pa ( 3 ); |
254 | pa.setPoint (0, x, yyy ); | 254 | pa.setPoint (0, x, yyy ); |
@@ -264,11 +264,13 @@ void MonthViewItem::paint(QPainter *p) | |||
264 | p->drawPolygon( pa ); | 264 | p->drawPolygon( pa ); |
265 | } | 265 | } |
266 | if ( mMultiday == 1 ) { | 266 | if ( mMultiday == 1 ) { |
267 | p->fillRect ( x, yyy-sizeM/2+1, sizeM/2, size, QBrush ( QBrush::SolidPattern ) ); | 267 | // p->fillRect ( x, yyy-sizeM/2+1, sizeM/2, size, QBrush ( QBrush::SolidPattern ) ); |
268 | 268 | ||
269 | p->drawLine ( x+1, yyy-sizeM/2, x+1, yyy+sizeM/2 ); | ||
269 | } | 270 | } |
270 | if ( mMultiday == 3 ) { | 271 | if ( mMultiday == 3 ) { |
271 | p->fillRect ( x+sizeM, yyy-sizeM/2+1, sizeM/2, size, QBrush ( QBrush::SolidPattern ) ); | 272 | // p->fillRect ( x+sizeM, yyy-sizeM/2+1, sizeM/2, size, QBrush ( QBrush::SolidPattern ) ); |
273 | p->drawLine ( x+sizeM +sizeM/2-1, yyy-sizeM/2, x+sizeM +sizeM/2-1, yyy+sizeM/2 ); | ||
272 | 274 | ||
273 | } | 275 | } |
274 | x += sizeM/2 + 1; | 276 | x += sizeM/2 + 1; |