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/koagenda.cpp | |
parent | d7931731fcf0ffeb5b5267f25fce741ebe1ced13 (diff) | |
download | kdepimpi-671d832454c8b68e0bb44e439f28fb1c768e033d.zip kdepimpi-671d832454c8b68e0bb44e439f28fb1c768e033d.tar.gz kdepimpi-671d832454c8b68e0bb44e439f28fb1c768e033d.tar.bz2 |
fixix
-rw-r--r-- | korganizer/koagenda.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index 9b817bc..01cef35 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp | |||
@@ -1913,12 +1913,16 @@ void KOAgenda::computeSizes() | |||
1913 | int ch = contentsHeight(); | 1913 | int ch = contentsHeight(); |
1914 | if ( mAllDayMode ) { | 1914 | if ( mAllDayMode ) { |
1915 | QPixmap* paintPixAll = KOAgendaItem::paintPixAllday(); | 1915 | QPixmap* paintPixAll = KOAgendaItem::paintPixAllday(); |
1916 | if ( (paintPixAll->width() < cw || paintPixAll->height() < ch) && cw > 0 && ch > 0 ) | 1916 | if ( (paintPixAll->width() < cw || paintPixAll->height() < ch) && cw > 0 && ch > 0 ) { |
1917 | //qDebug("paintPixAll->resize "); | ||
1917 | paintPixAll->resize( cw, ch ); | 1918 | paintPixAll->resize( cw, ch ); |
1919 | } | ||
1918 | } else { | 1920 | } else { |
1919 | QPixmap* paintPix = KOAgendaItem::paintPix(); | 1921 | QPixmap* paintPix = KOAgendaItem::paintPix(); |
1920 | if ( paintPix->width() < cw || paintPix->height() < ch ) | 1922 | if ( paintPix->width() < cw || paintPix->height() < ch ) { |
1921 | KOAgendaItem::resizePixmap( cw , ch ); | 1923 | //qDebug("paintPix->resize "); |
1924 | paintPix->resize( cw , ch ); | ||
1925 | } | ||
1922 | } | 1926 | } |
1923 | 1927 | ||
1924 | checkScrollBoundaries(); | 1928 | checkScrollBoundaries(); |