summaryrefslogtreecommitdiffstats
path: root/logic/auth/flows/AuthenticateTask.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-04-06 20:31:02 +0200
committerPetr Mrázek <peterix@gmail.com>2014-04-16 00:46:41 +0200
commitb286b9328158ad7686b7787d54c857e973c5b74c (patch)
tree1b6b7758dbd6f3466cae3296aea5d11d6bf7e8ab /logic/auth/flows/AuthenticateTask.h
parent632c087483a6ab714486ac5f9465c4752f1219a5 (diff)
downloadMultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar
MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar.gz
MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar.lz
MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.tar.xz
MultiMC-b286b9328158ad7686b7787d54c857e973c5b74c.zip
Give more feedback for YggdrasilTask network errors.
Diffstat (limited to 'logic/auth/flows/AuthenticateTask.h')
-rw-r--r--logic/auth/flows/AuthenticateTask.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/auth/flows/AuthenticateTask.h b/logic/auth/flows/AuthenticateTask.h
index b6564657..13a000aa 100644
--- a/logic/auth/flows/AuthenticateTask.h
+++ b/logic/auth/flows/AuthenticateTask.h
@@ -33,13 +33,13 @@ public:
AuthenticateTask(MojangAccount *account, const QString &password, QObject *parent = 0);
protected:
- virtual QJsonObject getRequestContent() const;
+ virtual QJsonObject getRequestContent() const override;
- virtual QString getEndpoint() const;
+ virtual QString getEndpoint() const override;
- virtual bool processResponse(QJsonObject responseData);
+ virtual void processResponse(QJsonObject responseData) override;
- QString getStateMessage(const YggdrasilTask::State state) const;
+ virtual QString getStateMessage() const override;
private:
QString m_password;