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

Add missing Q_REQUIRED_RESULT

parent a4b73808
......@@ -67,7 +67,7 @@ public:
Q_REQUIRED_RESULT bool operator==(const ArchiveMailInfo &other) const;
private:
QString dirArchive(bool &dirExit) const;
Q_REQUIRED_RESULT QString dirArchive(bool &dirExit) const;
QDate mLastDateSaved;
int mArchiveAge = 1;
MailCommon::BackupJob::ArchiveType mArchiveType = MailCommon::BackupJob::Zip;
......
......@@ -187,3 +187,8 @@ void ArchiveMailManager::archiveFolder(const QString &path, Akonadi::Collection:
auto task = new ScheduledArchiveTask(this, info, Akonadi::Collection(info->saveCollectionId()), true /*immediat*/);
mArchiveMailKernel->jobScheduler()->registerTask(task);
}
ArchiveMailKernel *ArchiveMailManager::kernel() const
{
return mArchiveMailKernel;
}
......@@ -32,10 +32,7 @@ public:
void archiveFolder(const QString &path, Akonadi::Collection::Id collectionId);
ArchiveMailKernel *kernel() const
{
return mArchiveMailKernel;
}
ArchiveMailKernel *kernel() const;
public Q_SLOTS:
void load();
......
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