summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-03 07:43:08 +0100
committerLaurent Montel <[email protected]>2018-01-03 07:43:08 +0100
commit75d2c65bc73513af32e2a1f659d09acfd6371d22 (patch)
tree839c2d6c6d705f99956f357f0b14fa0f3b7456db
parent1d15a443ede447b0605054bdb70063c2136d4860 (diff)
Port to new connect api
-rw-r--r--templateparser/src/templatesconfiguration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/templateparser/src/templatesconfiguration.cpp b/templateparser/src/templatesconfiguration.cpp
index d7ac2be..14e944a 100644
--- a/templateparser/src/templatesconfiguration.cpp
+++ b/templateparser/src/templatesconfiguration.cpp
@@ -60,8 +60,8 @@ TemplatesConfiguration::TemplatesConfiguration(QWidget *parent, const QString &n
connect(lineEdit_quote, &QLineEdit::textChanged,
this, &TemplatesConfiguration::slotTextChanged);
- connect(mInsertCommand, SIGNAL(insertCommand(QString,int)),
- this, SLOT(slotInsertCommand(QString,int)));
+ connect(mInsertCommand, QOverload<const QString &, int>::of(&TemplateParser::TemplatesInsertCommand::insertCommand),
+ this, &TemplatesConfiguration::slotInsertCommand);
d->mHelpString
= i18n("<p>Here you can create and manage templates to use when "