summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-03-23 15:25:36 (UTC)
committer harlekin <harlekin>2003-03-23 15:25:36 (UTC)
commit9c539b9626f0a3ffca47e9b1247cb727539b46c6 (patch) (side-by-side diff)
treea094b7ea93a645a2af08e44627737b0433f59fce
parent34d831699c7a7be4bd81cd7d7336b66b53ef78d9 (diff)
downloadopie-9c539b9626f0a3ffca47e9b1247cb727539b46c6.zip
opie-9c539b9626f0a3ffca47e9b1247cb727539b46c6.tar.gz
opie-9c539b9626f0a3ffca47e9b1247cb727539b46c6.tar.bz2
count right number of max showing events
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookpluginwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp
index 781e3a4..1970654 100644
--- a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp
+++ b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp
@@ -92,5 +92,5 @@ void DatebookPluginWidget::getDates() {
for ( QValueList<EffectiveEvent>::ConstIterator it = list.begin(); it != list.end(); ++it ) {
- if ( count <= m_max_lines_meet ) {
+ if ( count < m_max_lines_meet ) {
if ( !m_onlyLater ) {
count++;