From f67ca674c4157737196d05fb5d1c80006c3cd361 Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Wed, 16 Apr 2014 17:54:07 +0200 Subject: Fix bug --- gui/dialogs/LoginDialog.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gui/dialogs/LoginDialog.h') 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,7 +1,4 @@ /* Copyright 2014 MultiMC Contributors - * - * Authors: - * Taeyeon Mori * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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 m_loginTask; }; -- cgit v1.2.3