author | zautrix <zautrix> | 2005-07-04 22:19:14 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-04 22:19:14 (UTC) |
commit | 671d832454c8b68e0bb44e439f28fb1c768e033d (patch) (unidiff) | |
tree | a938029d62ba7d54ee5cb3de0c6cc0cc449dba51 /korganizer/koagendaitem.cpp | |
parent | d7931731fcf0ffeb5b5267f25fce741ebe1ced13 (diff) | |
download | kdepimpi-671d832454c8b68e0bb44e439f28fb1c768e033d.zip kdepimpi-671d832454c8b68e0bb44e439f28fb1c768e033d.tar.gz kdepimpi-671d832454c8b68e0bb44e439f28fb1c768e033d.tar.bz2 |
fixix
-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 | } |