-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp index 9089fe9..e8e12ba 100644 --- a/core/pim/datebook/datebookweeklst.cpp +++ b/core/pim/datebook/datebookweeklst.cpp | |||
@@ -208,10 +208,12 @@ DateBookWeekLstView::DateBookWeekLstView(QValueList<EffectiveEvent> &ev, | |||
208 | 208 | ||
209 | // Events | 209 | // Events |
210 | while ( (*it).date().dayOfWeek() == dayOrder[i] && it!=ev.end() ) { | 210 | while ( (*it).date().dayOfWeek() == dayOrder[i] && it!=ev.end() ) { |
211 | if(!((*it).end().hour()==(*it).start().hour() && (*it).end().minute()==(*it).start().minute())) {// Skip effective events with no duration. (i.e ending at 00:00) | ||
211 | DateBookWeekLstEvent *l=new DateBookWeekLstEvent(*it,this); | 212 | DateBookWeekLstEvent *l=new DateBookWeekLstEvent(*it,this); |
212 | layout->addWidget(l); | 213 | layout->addWidget(l); |
213 | connect (l, SIGNAL(editEvent(const Event &)), | 214 | connect (l, SIGNAL(editEvent(const Event &)), |
214 | this, SIGNAL(editEvent(const Event &))); | 215 | this, SIGNAL(editEvent(const Event &))); |
216 | } | ||
215 | it++; | 217 | it++; |
216 | } | 218 | } |
217 | 219 | ||