mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 11:24:15 +00:00
Add missing 'override' specifier
This fixes clang warning: 'notify' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
This commit is contained in:
parent
7aa5bc4bc1
commit
c60b7b213e
@ -112,7 +112,7 @@ protected:
|
|||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
bool event(QEvent *);
|
bool event(QEvent *);
|
||||||
#endif
|
#endif
|
||||||
bool notify(QObject* receiver, QEvent* event);
|
bool notify(QObject* receiver, QEvent* event) override;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
@ -110,7 +110,7 @@ protected:
|
|||||||
protected slots:
|
protected slots:
|
||||||
void torrentDoubleClicked();
|
void torrentDoubleClicked();
|
||||||
void displayListMenu(const QPoint&);
|
void displayListMenu(const QPoint&);
|
||||||
void currentChanged(const QModelIndex& current, const QModelIndex&);
|
void currentChanged(const QModelIndex& current, const QModelIndex&) override;
|
||||||
void toggleSelectedTorrentsSuperSeeding() const;
|
void toggleSelectedTorrentsSuperSeeding() const;
|
||||||
void toggleSelectedTorrentsSequentialDownload() const;
|
void toggleSelectedTorrentsSequentialDownload() const;
|
||||||
void toggleSelectedFirstLastPiecePrio() const;
|
void toggleSelectedFirstLastPiecePrio() const;
|
||||||
|
@ -88,7 +88,7 @@ public:
|
|||||||
explicit WebApplication(QObject *parent = nullptr);
|
explicit WebApplication(QObject *parent = nullptr);
|
||||||
~WebApplication() override;
|
~WebApplication() override;
|
||||||
|
|
||||||
Http::Response processRequest(const Http::Request &request, const Http::Environment &env);
|
Http::Response processRequest(const Http::Request &request, const Http::Environment &env) override;
|
||||||
|
|
||||||
QString clientId() const override;
|
QString clientId() const override;
|
||||||
WebSession *session() override;
|
WebSession *session() override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user