summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/downloadfiletask.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/downloadfiletask.h')
-rw-r--r--src/libs/installer/downloadfiletask.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/installer/downloadfiletask.h b/src/libs/installer/downloadfiletask.h
index 21908549d..f50d4c0ff 100644
--- a/src/libs/installer/downloadfiletask.h
+++ b/src/libs/installer/downloadfiletask.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Installer Framework.
@@ -63,8 +63,8 @@ public:
FileTaskItem taskItem() const { return m_fileTaskItem; }
void setFileTaskItem(const FileTaskItem &item) { m_fileTaskItem = item; }
- void raise() const { throw *this; }
- AuthenticationRequiredException *clone() const {
+ void raise() const override { throw *this; }
+ AuthenticationRequiredException *clone() const override {
return new AuthenticationRequiredException(*this); }
private:
@@ -98,7 +98,7 @@ public:
void setAuthenticator(const QAuthenticator &authenticator);
void setProxyFactory(KDUpdater::FileDownloaderProxyFactory *factory);
- void doTask(QFutureInterface<FileTaskResult> &fi);
+ void doTask(QFutureInterface<FileTaskResult> &fi) override;
private:
friend class Downloader;