Commit fd325902 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent dd2ba24f
......@@ -3357,7 +3357,8 @@ void KMMainWidget::setupActions()
connect(action, &QAction::triggered, this, &KMMainWidget::slotCreateAddressBookContact);
}
actionCollection()->addAction(KStandardAction::Undo, QStringLiteral("kmail_undo"), this, SLOT(slotUndo()));
QAction *act = actionCollection()->addAction(KStandardAction::Undo, QStringLiteral("kmail_undo"));
connect(act, &QAction::triggered, this, &KMMainWidget::slotUndo);
menutimer = new QTimer(this);
menutimer->setObjectName(QStringLiteral("menutimer"));
......
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