diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-12 11:58:21 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-04-21 11:10:13 +0000 |
commit | a5c1754faa7bd9491fcf64dda34b479cdf62c9bd (patch) | |
tree | 61a093917f9c8308d2153335d49c58acc3836981 /src/core/qrc_protocol_handler_qt.h | |
parent | d08524fbfbb78eca09bbab58d5a9840387d2d0e7 (diff) |
Standardize override declaration
Update our overrides to Qt coding standard getting rid of
Q_DECL_OVERRIDE and redundant virtual declarations.
Change-Id: Id8b0750eb05c51fc8f50cac4000a811eebcbf918
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/core/qrc_protocol_handler_qt.h')
-rw-r--r-- | src/core/qrc_protocol_handler_qt.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/qrc_protocol_handler_qt.h b/src/core/qrc_protocol_handler_qt.h index a2e0cc00b..f2849c1ef 100644 --- a/src/core/qrc_protocol_handler_qt.h +++ b/src/core/qrc_protocol_handler_qt.h @@ -42,8 +42,6 @@ #include "net/url_request/url_request_job_factory.h" -#include <QtCore/qcompilerdetection.h> // Needed for Q_DECL_OVERRIDE - namespace net { class NetworkDelegate; @@ -61,7 +59,7 @@ class QrcProtocolHandlerQt : public net::URLRequestJobFactory::ProtocolHandler { public: QrcProtocolHandlerQt(); - virtual net::URLRequestJob *MaybeCreateJob(net::URLRequest *request, net::NetworkDelegate *networkDelegate) const Q_DECL_OVERRIDE; + net::URLRequestJob *MaybeCreateJob(net::URLRequest *request, net::NetworkDelegate *networkDelegate) const override; private: DISALLOW_COPY_AND_ASSIGN(QrcProtocolHandlerQt); |