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

Add missing Q_REQUIRED_RESULT + explicit

parent 236fa1d5
Pipeline #149490 passed with stage
in 1 minute and 51 seconds
......@@ -27,7 +27,7 @@ private Q_SLOTS:
void onCollectionsFetched(KJob *);
bool shouldIndex(const Akonadi::Collection &col) const;
Q_REQUIRED_RESULT bool shouldIndex(const Akonadi::Collection &col) const;
const Akonadi::Collection mCol;
Index &mIndex;
......@@ -27,7 +27,7 @@ public:
void move(Akonadi::Item::Id itemId, Akonadi::Collection::Id from, Akonadi::Collection::Id to) override;
bool indexContact(const Akonadi::Item &item);
Q_REQUIRED_RESULT bool indexContact(const Akonadi::Item &item);
void indexContactGroup(const Akonadi::Item &item);
Akonadi::Search::XapianDatabase *m_db = nullptr;
......@@ -21,7 +21,7 @@ public:
* You must provide the path where the indexed information
* should be stored
EmailIndexer(const QString &path, const QString &contactDbPath);
explicit EmailIndexer(const QString &path, const QString &contactDbPath);
~EmailIndexer() override;
Q_REQUIRED_RESULT QStringList mimeTypes() const override;
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