Commit 85ab78ea authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to remove account identifier

parent 9c0c5fa6
......@@ -18,7 +18,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
set(PIM_VERSION "5.3.41")
set(PIM_VERSION "5.3.42")
set(MAILCOMMON_LIB_VERSION ${PIM_VERSION})
set(AKONADIMIME_LIB_VERSION "5.3.40")
set(MESSAGELIB_LIB_VERSION "5.3.40")
......
......@@ -275,6 +275,11 @@ SearchRule::RequiredPart MailFilter::requiredPart(const QString &id) const
return static_cast<SearchRule::RequiredPart>(requiredPart);
}
void MailFilter::agentRemoved(const QString &identifier)
{
mAccounts.removeAll(identifier);
}
void MailFilter::folderRemoved(const Akonadi::Collection &aFolder, const Akonadi::Collection &aNewFolder)
{
QListIterator<FilterAction *> it(mActions);
......
......@@ -312,6 +312,7 @@ public:
void generateSieveScript(QStringList &requires, QString &code);
void clearApplyOnAccount();
void agentRemoved(const QString &identifier);
private:
QString mIdentifier;
SearchPattern mPattern;
......
Supports Markdown
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