diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-14 19:28:12 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-14 19:28:12 +0100 |
commit | ae169abd74571df2ab002c6ebf2962fed937391a (patch) | |
tree | ca8498e7093e23f44aabb14c8dca102398d03d98 | |
parent | d15a6490f6f2d6b1252fc48feaaba9dd89608569 (diff) | |
parent | 699aba9222ff5d678c9a42268fc719d064c8d99f (diff) | |
download | MultiMC-ae169abd74571df2ab002c6ebf2962fed937391a.tar MultiMC-ae169abd74571df2ab002c6ebf2962fed937391a.tar.gz MultiMC-ae169abd74571df2ab002c6ebf2962fed937391a.tar.lz MultiMC-ae169abd74571df2ab002c6ebf2962fed937391a.tar.xz MultiMC-ae169abd74571df2ab002c6ebf2962fed937391a.zip |
Merge branch 'develop' of github.com:MultiMC/MultiMC5 into develop
-rw-r--r-- | gui/dialogs/AccountListDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/dialogs/AccountListDialog.cpp b/gui/dialogs/AccountListDialog.cpp index 91b2ac55..242590fb 100644 --- a/gui/dialogs/AccountListDialog.cpp +++ b/gui/dialogs/AccountListDialog.cpp @@ -36,8 +36,12 @@ AccountListDialog::AccountListDialog(QWidget *parent) ui->setupUi(this); m_accounts = MMC->accounts(); - // TODO: Make the "Active?" column show checkboxes or radio buttons. + ui->listView->setModel(m_accounts.get()); + ui->listView->header()->setSectionResizeMode(QHeaderView::ResizeToContents); + + // Expand the account column + ui->listView->header()->setSectionResizeMode(1, QHeaderView::Stretch); QItemSelectionModel* selectionModel = ui->listView->selectionModel(); |