Diffstat (limited to 'core/pim/today/plugins/todolist/todopluginconfig.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginconfig.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.cpp b/core/pim/today/plugins/todolist/todopluginconfig.cpp index da81600..2d8f1b6 100644 --- a/core/pim/today/plugins/todolist/todopluginconfig.cpp +++ b/core/pim/today/plugins/todolist/todopluginconfig.cpp @@ -50,7 +50,7 @@ TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name) } void TodolistPluginConfig::readConfig() { - Config cfg( "todaydatebookplugin" ); + Config cfg( "todaytodoplugin" ); cfg.setGroup( "config" ); m_max_lines_task = cfg.readNumEntry( "maxlinestask", 5 ); SpinBox2->setValue( m_max_lines_task ); @@ -58,8 +58,9 @@ void TodolistPluginConfig::readConfig() { void TodolistPluginConfig::writeConfig() { - Config cfg( "todaydatebookplugin" ); + Config cfg( "todaytodoplugin" ); cfg.setGroup( "config" ); + m_max_lines_task = SpinBox2->value(); cfg.writeEntry( "maxlinestask", m_max_lines_task ); cfg.write(); } |