summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/AccountListDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialogs/AccountListDialog.h')
-rw-r--r--gui/dialogs/AccountListDialog.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/gui/dialogs/AccountListDialog.h b/gui/dialogs/AccountListDialog.h
index 63720f58..634d944a 100644
--- a/gui/dialogs/AccountListDialog.h
+++ b/gui/dialogs/AccountListDialog.h
@@ -40,8 +40,6 @@ slots:
void on_rmAccountBtn_clicked();
- void on_editAccountBtn_clicked();
-
void on_setDefaultBtn_clicked();
void on_noDefaultBtn_clicked();
@@ -49,21 +47,17 @@ slots:
// This will be sent when the "close" button is clicked.
void on_closeBtnBox_rejected();
+ void listChanged();
+
//! Updates the states of the dialog's buttons.
void updateButtonStates();
-signals:
- void activeAccountChanged();
-
protected:
std::shared_ptr<MojangAccountList> m_accounts;
- AuthenticateTask* m_authTask;
-
protected
slots:
- void doLogin(const QString& errMsg="");
- void onLoginComplete();
+ void addAccount(const QString& errMsg="");
private:
Ui::AccountListDialog *ui;