summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-07-03 20:25:46 (UTC)
committer zautrix <zautrix>2005-07-03 20:25:46 (UTC)
commitad66f0fe56bb88104fb0065ccb599ab0edd35cf4 (patch) (unidiff)
tree13936362717d3a3ca36404ad5b522574418d1d89 /korganizer
parentf9a1b1e8ac52218360731fae67993704c20f17fe (diff)
downloadkdepimpi-ad66f0fe56bb88104fb0065ccb599ab0edd35cf4.zip
kdepimpi-ad66f0fe56bb88104fb0065ccb599ab0edd35cf4.tar.gz
kdepimpi-ad66f0fe56bb88104fb0065ccb599ab0edd35cf4.tar.bz2
icon agenda fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index c055eb8..9fe1be4 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -196,3 +196,6 @@ bool KOAgendaItem::updateIcons(QPainter * p, bool horLayout)
196 int xOff = 0; 196 int xOff = 0;
197 int x = pos().x() +3; 197 int x = pos().x();
198
199 if ( x < 0 ) x = 0;
200 x += 3;
198 int y; 201 int y;
@@ -216,3 +219,3 @@ bool KOAgendaItem::updateIcons(QPainter * p, bool horLayout)
216 } 219 }
217 if (mIncidence->cancelled()) { 220 if (mIncidence->cancelled() && height() < 20 ) {
218 int xpos = xOff*( 1 +AGENDA_ICON_SIZE )+x; 221 int xpos = xOff*( 1 +AGENDA_ICON_SIZE )+x;
@@ -435,2 +438,4 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint )
435 x = 3; 438 x = 3;
439 if ( !horLayout && addIcon )
440 x += AGENDA_ICON_SIZE+3;
436 if ( w > parentWidget()->width() ){ 441 if ( w > parentWidget()->width() ){