-rw-r--r-- | korganizer/koagendaitem.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index abb29f7..f855b03 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp | |||
@@ -469,13 +469,9 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint ) | |||
469 | } | 469 | } |
470 | pa.end(); | 470 | pa.end(); |
471 | 471 | ||
472 | } | 472 | } |
473 | void KOAgendaItem::resizePixmap( int w , int h ) | ||
474 | { | ||
475 | paintPix()->resize( w, h ); | ||
476 | 473 | ||
477 | } | ||
478 | QPixmap * KOAgendaItem::paintPix() | 474 | QPixmap * KOAgendaItem::paintPix() |
479 | { | 475 | { |
480 | static QPixmap* mPaintPix = 0; | 476 | static QPixmap* mPaintPix = 0; |
481 | if ( ! mPaintPix ) { | 477 | if ( ! mPaintPix ) { |
@@ -489,9 +485,9 @@ QPixmap * KOAgendaItem::paintPixAllday() | |||
489 | { | 485 | { |
490 | static QPixmap* mPaintPixA = 0; | 486 | static QPixmap* mPaintPixA = 0; |
491 | if ( ! mPaintPixA ) { | 487 | if ( ! mPaintPixA ) { |
492 | int w = QApplication::desktop()->width(); | 488 | int w = QApplication::desktop()->width(); |
493 | int h = QApplication::desktop()->height()/3; | 489 | int h = QApplication::desktop()->height()/5; |
494 | mPaintPixA = new QPixmap(w,h); | 490 | mPaintPixA = new QPixmap(w,h); |
495 | } | 491 | } |
496 | return mPaintPixA ; | 492 | return mPaintPixA ; |
497 | } | 493 | } |