author | skyhusker <skyhusker> | 2005-04-10 12:45:59 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-04-10 12:45:59 (UTC) |
commit | 7a49d0610ae9bc1cadacf9d572c671009cb3c088 (patch) (unidiff) | |
tree | 31d98c05af90dc9a3dce9eb01a5af51778ec64fc /core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |
parent | 713db174943e9184bfa68fa430123c52ad3c3b2b (diff) | |
download | opie-7a49d0610ae9bc1cadacf9d572c671009cb3c088.zip opie-7a49d0610ae9bc1cadacf9d572c671009cb3c088.tar.gz opie-7a49d0610ae9bc1cadacf9d572c671009cb3c088.tar.bz2 |
Added configuration option for max characters displayed in notes. Fixes bug 1635
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp index 0820802..eb6d47a 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |||
@@ -55,4 +55,5 @@ void DatebookPluginWidget::readConfig() { | |||
55 | m_moreDays = cfg.readNumEntry( "moredays", 0 ); | 55 | m_moreDays = cfg.readNumEntry( "moredays", 0 ); |
56 | m_timeExtraLine = cfg.readNumEntry( "timeextraline", 1 ); | 56 | m_timeExtraLine = cfg.readNumEntry( "timeextraline", 1 ); |
57 | m_maxCharClip = cfg.readNumEntry( "maxcharclip", 38 ); | ||
57 | } | 58 | } |
58 | 59 | ||
@@ -97,5 +98,5 @@ void DatebookPluginWidget::getDates() { | |||
97 | if ( !m_onlyLater ) { | 98 | if ( !m_onlyLater ) { |
98 | count++; | 99 | count++; |
99 | DateBookEvent *l = new DateBookEvent( *it, this, m_show_location, m_show_notes, m_timeExtraLine ); | 100 | DateBookEvent *l = new DateBookEvent( *it, this, m_show_location, m_show_notes, m_timeExtraLine, m_maxCharClip ); |
100 | m_eventsList.append( l ); | 101 | m_eventsList.append( l ); |
101 | l->show(); | 102 | l->show(); |