diff --git a/src/plugins/cpaster/pastebindotcaprotocol.h b/src/plugins/cpaster/pastebindotcaprotocol.h index 73ffc60031e..04c5ac9db82 100644 --- a/src/plugins/cpaster/pastebindotcaprotocol.h +++ b/src/plugins/cpaster/pastebindotcaprotocol.h @@ -44,7 +44,7 @@ public: bool hasSettings() const override { return false; } unsigned capabilities() const override; - void fetch(const QString &id); + void fetch(const QString &id) override; void paste(const QString &text, ContentType ct = Text, int expiryDays = 1, diff --git a/src/plugins/cpaster/pastebindotcomprotocol.h b/src/plugins/cpaster/pastebindotcomprotocol.h index 08076746a4c..c952b20ed10 100644 --- a/src/plugins/cpaster/pastebindotcomprotocol.h +++ b/src/plugins/cpaster/pastebindotcomprotocol.h @@ -40,11 +40,11 @@ class PasteBinDotComProtocol : public NetworkProtocol Q_OBJECT public: static QString protocolName(); - QString name() const { return protocolName(); } + QString name() const override { return protocolName(); } unsigned capabilities() const override; - void fetch(const QString &id); + void fetch(const QString &id) override; void paste(const QString &text, ContentType ct = Text, int expiryDays = 1,