Commit dfad6178 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 8a909256
......@@ -147,7 +147,7 @@ void Filter::setInfo(const QString &_info)
d->info = _info;
}
bool Filter::importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, MailImporter::MessageStatus status)
bool Filter::importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, const MailImporter::MessageStatus &status)
{
return filterImporter()->importMessage(folderName, msgPath, duplicateCheck, status);
}
......
......@@ -67,7 +67,7 @@ public:
protected:
static int countDirectory(const QDir &dir, bool searchHiddenDirectory);
bool importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, MailImporter::MessageStatus status = MailImporter::MessageStatus());
Q_REQUIRED_RESULT bool importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, const MessageStatus &status = MailImporter::MessageStatus());
private:
class Private;
Private *const d;
......
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