summaryrefslogtreecommitdiff
path: root/core/pim/todo/templateeditor.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/templateeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/templateeditor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/todo/templateeditor.cpp b/core/pim/todo/templateeditor.cpp
index 3930428..ca02173 100644
--- a/core/pim/todo/templateeditor.cpp
+++ b/core/pim/todo/templateeditor.cpp
@@ -29,11 +29,10 @@ void TemplateEditor::init() {
a->addTo( m_main->options() );
}
void TemplateEditor::setUp() {
- qWarning("set up");
TemplateDialogImpl dlg(m_main, m_man );
int ret= dlg.exec();
- if (QDialog::Accepted != ret ) {
+ if (QDialog::Accepted != ret )
m_man->load();
- }else
+ else
m_main->populateTemplates();
}