summaryrefslogtreecommitdiffstats
path: root/korganizer/templatemanagementdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/templatemanagementdialog.cpp')
-rw-r--r--korganizer/templatemanagementdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/templatemanagementdialog.cpp b/korganizer/templatemanagementdialog.cpp
index e6ee19da..f610a2fd 100644
--- a/korganizer/templatemanagementdialog.cpp
+++ b/korganizer/templatemanagementdialog.cpp
@@ -72,7 +72,7 @@ void TemplateManagementDialog::slotAddTemplate()
i18n("Please enter a name for the new template:"),
i18n("New Template"), &ok );
if ( newTemplate.isEmpty() || !ok ) return;
- if ( m_templates.tqfind( newTemplate) != m_templates.end() ) {
+ if ( m_templates.find( newTemplate) != m_templates.end() ) {
int rc = KMessageBox::warningContinueCancel( this, i18n("A template with that name already exists, do you want to overwrite it?."), i18n("Duplicate Template Name"), i18n("Overwrite"));
if ( rc == KMessageBox::Cancel ) {
TQTimer::singleShot(0, this, TQT_SLOT( slotAddTemplate() ) );