author | harlekin <harlekin> | 2003-03-23 15:25:36 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-23 15:25:36 (UTC) |
commit | 9c539b9626f0a3ffca47e9b1247cb727539b46c6 (patch) (unidiff) | |
tree | a094b7ea93a645a2af08e44627737b0433f59fce /core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |
parent | 34d831699c7a7be4bd81cd7d7336b66b53ef78d9 (diff) | |
download | opie-9c539b9626f0a3ffca47e9b1247cb727539b46c6.zip opie-9c539b9626f0a3ffca47e9b1247cb727539b46c6.tar.gz opie-9c539b9626f0a3ffca47e9b1247cb727539b46c6.tar.bz2 |
count right number of max showing events
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginwidget.cpp | 2 |
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 | |||
@@ -88,13 +88,13 @@ void DatebookPluginWidget::getDates() { | |||
88 | int count = 0; | 88 | int count = 0; |
89 | 89 | ||
90 | if ( list.count() > 0 ) { | 90 | if ( list.count() > 0 ) { |
91 | 91 | ||
92 | for ( QValueList<EffectiveEvent>::ConstIterator it = list.begin(); it != list.end(); ++it ) { | 92 | for ( QValueList<EffectiveEvent>::ConstIterator it = list.begin(); it != list.end(); ++it ) { |
93 | 93 | ||
94 | if ( count <= m_max_lines_meet ) { | 94 | if ( count < m_max_lines_meet ) { |
95 | if ( !m_onlyLater ) { | 95 | if ( !m_onlyLater ) { |
96 | count++; | 96 | count++; |
97 | DateBookEvent *l = new DateBookEvent( *it, this, m_show_location, m_show_notes ); | 97 | DateBookEvent *l = new DateBookEvent( *it, this, m_show_location, m_show_notes ); |
98 | m_eventsList.append( l ); | 98 | m_eventsList.append( l ); |
99 | l->show(); | 99 | l->show(); |
100 | QObject::connect ( l, SIGNAL( editEvent( const Event & ) ), l, SLOT( editEventSlot( const Event & ) ) ); | 100 | QObject::connect ( l, SIGNAL( editEvent( const Event & ) ), l, SLOT( editEventSlot( const Event & ) ) ); |