aboutsummaryrefslogtreecommitdiff
path: root/launcher/net/NetAction.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/net/NetAction.h')
-rw-r--r--launcher/net/NetAction.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/launcher/net/NetAction.h b/launcher/net/NetAction.h
index e15716f6..86a37ee6 100644
--- a/launcher/net/NetAction.h
+++ b/launcher/net/NetAction.h
@@ -43,7 +43,7 @@
class NetAction : public Task {
Q_OBJECT
protected:
- explicit NetAction() : Task(nullptr) {};
+ explicit NetAction() : Task() {};
public:
using Ptr = shared_qobject_ptr<NetAction>;
@@ -51,13 +51,7 @@ class NetAction : public Task {
virtual ~NetAction() = default;
QUrl url() { return m_url; }
-
- signals:
- void started(int index);
- void netActionProgress(int index, qint64 current, qint64 total);
- void succeeded(int index);
- void failed(int index);
- void aborted(int index);
+ auto index() -> int { return m_index_within_job; }
protected slots:
virtual void downloadProgress(qint64 bytesReceived, qint64 bytesTotal) = 0;