Diffstat (limited to 'core/pim/todo/templateeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/templateeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/templateeditor.cpp b/core/pim/todo/templateeditor.cpp index 1b52d4f..3930428 100644 --- a/core/pim/todo/templateeditor.cpp +++ b/core/pim/todo/templateeditor.cpp @@ -12,25 +12,25 @@ using namespace Todo; TemplateEditor::TemplateEditor( MainWindow* main, TemplateManager* manager ) : QObject( main ), m_main( main ), m_man( manager ) { init(); } TemplateEditor::~TemplateEditor() { } /* ok we add us to the Menubar */ void TemplateEditor::init() { - QAction* a = new QAction( QString::null, tr("Configure Templates"), + QAction* a = new QAction( QString::null, QWidget::tr("Configure Templates"), 0, this, 0, FALSE ); connect(a, SIGNAL(activated() ), this, SLOT(setUp() ) ); 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 ) { m_man->load(); |