[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/kontact/plugins/korganizer
From:       André Wöbbeking <Woebbeking () web ! de>
Date:       2006-04-07 14:21:09
Message-ID: 1144419669.583614.15523.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 527275 by woebbe:

updateView(): use continue instead of break in the inner for loop, otherwise
"normal" events aren't displayed if there're also floating, multiday events.

BTW, QDate::currentDate() is not so cheap but called very often.

Please forward this fix to HEAD.

 M  +1 -1      summarywidget.cpp  


--- branches/KDE/3.5/kdepim/kontact/plugins/korganizer/summarywidget.cpp #527274:527275
@@ -130,7 +130,7 @@
 
       // If this date is part of a floating, multiday event, then we
       // only make a print for the first day of the event.
-      if ( ev->isMultiDay() && ev->doesFloat() && dayof != 1 )break;
+      if ( ev->isMultiDay() && ev->doesFloat() && dayof != 1 ) continue;
 
       // Fill Appointment Pixmap Field
       label = new QLabel( this );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic