Commit 7a9fa60b authored by Laurent Montel's avatar Laurent Montel
Browse files

Add missing Q_REQUIRED_RESULT

parent bd38be2a
Pipeline #218943 passed with stage
in 23 minutes and 47 seconds
......@@ -25,10 +25,10 @@ public:
void start();
bool canStart() const;
QString email() const;
Q_REQUIRED_RESULT QString email() const;
void setEmail(const QString &email);
Akonadi::Item item() const;
Q_REQUIRED_RESULT Akonadi::Item item() const;
void setItem(const Akonadi::Item &item);
Q_SIGNALS:
......
......@@ -19,14 +19,14 @@ public:
void setEmail(const QString &email);
QPixmap pixmap() const;
Q_REQUIRED_RESULT QPixmap pixmap() const;
void setOriginalPixmap(const QPixmap &pix);
void setOriginalUrl(const QUrl &url);
QUrl resolvedUrl() const;
Q_REQUIRED_RESULT QUrl resolvedUrl() const;
bool saveUrl() const;
Q_REQUIRED_RESULT bool saveUrl() const;
private:
void slotSaveImage();
......
......@@ -25,9 +25,9 @@ public:
~GravatarUpdateWidget() override;
void setEmail(const QString &email);
QPixmap pixmap() const;
Q_REQUIRED_RESULT QPixmap pixmap() const;
void setOriginalPixmap(const QPixmap &pix);
QUrl resolvedUrl() const;
Q_REQUIRED_RESULT QUrl resolvedUrl() const;
void setOriginalUrl(const QUrl &url);
......
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