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 8459e1d6 authored by Laurent Montel's avatar Laurent Montel 😁

Signal when fcc is invalid

parent dee78a94
......@@ -65,7 +65,7 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widgets WebEngine WebEngineWidgets Xml)
set(LIBGRAVATAR_VERSION_LIB "5.6.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.6.46")
set(MAILCOMMON_LIB_VERSION_LIB "5.6.47")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.6.40")
set(MESSAGELIB_LIB_VERSION_LIB "5.6.47")
set(LIBKLEO_LIB_VERSION_LIB "5.6.40")
......
......@@ -328,6 +328,7 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg, bool lastSignState
mFccFolder->setToolTip(i18n("Select the sent-mail folder where a copy of this message will be saved"));
connect(mFccFolder, &MailCommon::FolderRequester::folderChanged, this, &KMComposerWin::slotFccFolderChanged);
connect(mFccFolder, &MailCommon::FolderRequester::invalidFolder, this, &KMComposerWin::slotFccIsInvalid);
MailTransport::TransportComboBox *transport = new MailTransport::TransportComboBox(mHeadersArea);
transport->setToolTip(i18n("Select the outgoing account to use for sending this message"));
......@@ -1459,6 +1460,11 @@ QString KMComposerWin::replyTo() const
}
}
void KMComposerWin::slotFccIsInvalid()
{
mIncorrectIdentityFolderWarning->fccIsInvalid();
}
void KMComposerWin::setCurrentTransport(int transportId)
{
if (!mComposerBase->transportComboBox()->setCurrentTransport(transportId)) {
......
......@@ -533,6 +533,8 @@ private:
NoKey
};
void slotCryptoModuleSelected();
void slotFccIsInvalid();
void updateComposerAfterIdentityChanged(const KIdentityManagement::Identity &ident, uint uoid, bool wasModified);
......
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