author | zautrix <zautrix> | 2005-01-31 08:05:32 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-31 08:05:32 (UTC) |
commit | f7663a4c854d217bcb4f828a3ebb69cc40d0dd7c (patch) (unidiff) | |
tree | 683febfff7427b923f23178e74b7cc0e50ef461d /korganizer/koagendaview.cpp | |
parent | ed5723f40a93bbedfcbd9f54e6379a23c4a76096 (diff) | |
download | kdepimpi-f7663a4c854d217bcb4f828a3ebb69cc40d0dd7c.zip kdepimpi-f7663a4c854d217bcb4f828a3ebb69cc40d0dd7c.tar.gz kdepimpi-f7663a4c854d217bcb4f828a3ebb69cc40d0dd7c.tar.bz2 |
fix
-rw-r--r-- | korganizer/koagendaview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 8b79788..8e9add3 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -1498,24 +1498,26 @@ void KOAgendaView::scrollOneHourDown() | |||
1498 | { | 1498 | { |
1499 | mAgenda->scrollBy ( 0, mAgenda->contentsHeight () / 24 ); | 1499 | mAgenda->scrollBy ( 0, mAgenda->contentsHeight () / 24 ); |
1500 | } | 1500 | } |
1501 | 1501 | ||
1502 | void KOAgendaView::setStartHour( int h ) | 1502 | void KOAgendaView::setStartHour( int h ) |
1503 | { | 1503 | { |
1504 | mAgenda->setStartHour( h ); | 1504 | mAgenda->setStartHour( h ); |
1505 | 1505 | ||
1506 | } | 1506 | } |
1507 | 1507 | ||
1508 | void KOAgendaView::updateTodo( Todo * t, int ) | 1508 | void KOAgendaView::updateTodo( Todo * t, int ) |
1509 | { | 1509 | { |
1510 | if ( !isVisible() ) | ||
1511 | return; | ||
1510 | bool remove = false; | 1512 | bool remove = false; |
1511 | bool removeAD = false; | 1513 | bool removeAD = false; |
1512 | QDate da; | 1514 | QDate da; |
1513 | if ( t->hasCompletedDate() ) | 1515 | if ( t->hasCompletedDate() ) |
1514 | da = t->completed().date(); | 1516 | da = t->completed().date(); |
1515 | else | 1517 | else |
1516 | da = t->dtDue().date(); | 1518 | da = t->dtDue().date(); |
1517 | if ( ! t->hasDueDate() && !t->hasCompletedDate() ) { | 1519 | if ( ! t->hasDueDate() && !t->hasCompletedDate() ) { |
1518 | remove = true; | 1520 | remove = true; |
1519 | removeAD = true; | 1521 | removeAD = true; |
1520 | } | 1522 | } |
1521 | else { | 1523 | else { |