summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-14 19:28:12 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-14 19:28:12 +0100
commitae169abd74571df2ab002c6ebf2962fed937391a (patch)
treeca8498e7093e23f44aabb14c8dca102398d03d98 /gui
parentd15a6490f6f2d6b1252fc48feaaba9dd89608569 (diff)
parent699aba9222ff5d678c9a42268fc719d064c8d99f (diff)
downloadMultiMC-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
Diffstat (limited to 'gui')
-rw-r--r--gui/dialogs/AccountListDialog.cpp6
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();