summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/LoginDialog.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-04-16 17:54:07 +0200
committerJan Dalheimer <jan@dalheimer.de>2014-04-16 17:54:07 +0200
commitf67ca674c4157737196d05fb5d1c80006c3cd361 (patch)
tree6ac746bba5476db6cdad07a37617cd932258df0b /gui/dialogs/LoginDialog.h
parent3ed5b1570bbd7a9b8060ffc5ee5ae7bc63975098 (diff)
downloadMultiMC-f67ca674c4157737196d05fb5d1c80006c3cd361.tar
MultiMC-f67ca674c4157737196d05fb5d1c80006c3cd361.tar.gz
MultiMC-f67ca674c4157737196d05fb5d1c80006c3cd361.tar.lz
MultiMC-f67ca674c4157737196d05fb5d1c80006c3cd361.tar.xz
MultiMC-f67ca674c4157737196d05fb5d1c80006c3cd361.zip
Fix bug
Diffstat (limited to 'gui/dialogs/LoginDialog.h')
-rw-r--r--gui/dialogs/LoginDialog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/dialogs/LoginDialog.h b/gui/dialogs/LoginDialog.h
index 2fa863dd..560ed5ec 100644
--- a/gui/dialogs/LoginDialog.h
+++ b/gui/dialogs/LoginDialog.h
@@ -1,8 +1,5 @@
/* Copyright 2014 MultiMC Contributors
*
- * Authors:
- * Taeyeon Mori <orochimarufan.x3@gmail.com>
- *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -49,7 +46,7 @@ slots:
void onTaskFailed(const QString &reason);
void onTaskSucceeded();
void onTaskStatus(const QString &status);
- void onTaskProgress(qint64 value, qint64 max);
+ void onTaskProgress(qint64 current, qint64 total);
void on_userTextBox_textEdited(const QString &newText);
void on_passTextBox_textEdited(const QString &newText);
@@ -57,4 +54,5 @@ slots:
private:
Ui::LoginDialog *ui;
MojangAccountPtr m_account;
+ std::shared_ptr<Task> m_loginTask;
};