summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/AccountListDialog.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-11-18 12:58:03 -0600
committerAndrew <forkk@forkk.net>2013-11-18 12:58:03 -0600
commita9a0b65358b3799746fa9c8e1aa879e0b59ef526 (patch)
tree9db6881e5409495edefd9f04ab3cca5f82674778 /gui/dialogs/AccountListDialog.h
parentcdca53013990ac85967394529476712e6695bbf9 (diff)
downloadMultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar
MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar.gz
MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar.lz
MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar.xz
MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.zip
Implement loading accounts from list.
Diffstat (limited to 'gui/dialogs/AccountListDialog.h')
-rw-r--r--gui/dialogs/AccountListDialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/dialogs/AccountListDialog.h b/gui/dialogs/AccountListDialog.h
index 442834ef..57c8b460 100644
--- a/gui/dialogs/AccountListDialog.h
+++ b/gui/dialogs/AccountListDialog.h
@@ -17,6 +17,8 @@
#include <QDialog>
+#include <memory>
+
#include "logic/lists/MojangAccountList.h"
namespace Ui {
@@ -44,8 +46,7 @@ slots:
void on_closedBtnBox_rejected();
protected:
- // Temporarily putting this here...
- MojangAccountList m_accounts;
+ std::shared_ptr<MojangAccountList> m_accounts;
AuthenticateTask* m_authTask;