Diffstat (limited to 'core/pim/today/plugins/todolist/todopluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginwidget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.cpp b/core/pim/today/plugins/todolist/todopluginwidget.cpp index 2a0e5a3..4731b43 100644 --- a/core/pim/today/plugins/todolist/todopluginwidget.cpp +++ b/core/pim/today/plugins/todolist/todopluginwidget.cpp | |||
@@ -31,8 +31,8 @@ TodolistPluginWidget::TodolistPluginWidget( QWidget *parent, const char* name) | |||
31 | : QWidget(parent, name ) { | 31 | : QWidget(parent, name ) { |
32 | 32 | ||
33 | todoLabel= 0l; | 33 | todoLabel= 0l; |
34 | |||
35 | todo = 0l; | 34 | todo = 0l; |
35 | |||
36 | if ( todo ) { | 36 | if ( todo ) { |
37 | delete todo; | 37 | delete todo; |
38 | } | 38 | } |
@@ -47,8 +47,9 @@ TodolistPluginWidget::~TodolistPluginWidget() { | |||
47 | delete todo; | 47 | delete todo; |
48 | } | 48 | } |
49 | 49 | ||
50 | |||
50 | void TodolistPluginWidget::readConfig() { | 51 | void TodolistPluginWidget::readConfig() { |
51 | Config cfg( "todaytodolistplugin" ); | 52 | Config cfg( "todaytodoplugin" ); |
52 | cfg.setGroup( "config" ); | 53 | cfg.setGroup( "config" ); |
53 | m_maxLinesTask = cfg.readNumEntry( "maxlinestask", 5 ); | 54 | m_maxLinesTask = cfg.readNumEntry( "maxlinestask", 5 ); |
54 | } | 55 | } |
@@ -68,6 +69,7 @@ void TodolistPluginWidget::getTodo() { | |||
68 | todoLabel = new OClickableLabel( this ); | 69 | todoLabel = new OClickableLabel( this ); |
69 | todoLabel->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum ) ); | 70 | todoLabel->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum ) ); |
70 | connect( todoLabel, SIGNAL( clicked() ), this, SLOT( startTodolist() ) ); | 71 | connect( todoLabel, SIGNAL( clicked() ), this, SLOT( startTodolist() ) ); |
72 | |||
71 | QString output; | 73 | QString output; |
72 | QString tmpout; | 74 | QString tmpout; |
73 | int count = 0; | 75 | int count = 0; |