Commit 83943df7 authored by Sergio Martins's avatar Sergio Martins

sieveeditor: Port to Qt5 connect syntax, which is faster

parent ec646913
......@@ -232,7 +232,7 @@ void SieveEditorMainWindow::setupActions()
mWrapTextAction = new QAction(i18n("Wordwarp"), this);
mWrapTextAction->setCheckable(true);
ac->addAction(QStringLiteral("wordwrap"), mWrapTextAction);
connect(mWrapTextAction, SIGNAL(triggered(bool)), mMainWidget->sieveEditorMainWidget(), SLOT(slotWordWrap(bool)));
connect(mWrapTextAction, &QAction::triggered, mMainWidget->sieveEditorMainWidget(), &SieveEditorMainWidget::slotWordWrap);
}
void SieveEditorMainWindow::slotRefreshList()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment