Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

USe qoverload

parent b20fc75a
......@@ -331,8 +331,7 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg, bool lastSignState
MailTransport::TransportComboBox *transport = new MailTransport::TransportComboBox(mHeadersArea);
transport->setToolTip(i18n("Select the outgoing account to use for sending this message"));
mComposerBase->setTransportCombo(transport);
connect(transport, static_cast<void (MailTransport::TransportComboBox::*)(int)>(&MailTransport::TransportComboBox::activated), this, &KMComposerWin::slotTransportChanged);
connect(transport, QOverload<int>::of(&MailTransport::TransportComboBox::activated), this, &KMComposerWin::slotTransportChanged);
mEdtFrom = new MessageComposer::ComposerLineEdit(false, mHeadersArea);
mEdtFrom->setObjectName(QStringLiteral("fromLine"));
mEdtFrom->setRecentAddressConfig(MessageComposer::MessageComposerSettings::self()->config());
......
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