aboutsummaryrefslogtreecommitdiff
path: root/gui/ModListView.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-09-18 00:08:42 +0200
committerPetr Mrázek <peterix@gmail.com>2013-09-18 00:08:42 +0200
commit930b07afd4229e952d0cd47ca62cd94235499a0c (patch)
tree34cd74c3652da4b3ad0fd008faa2ab67adb4901f /gui/ModListView.cpp
parent5cd3420c46e0b54f1479ddf720a8c9131c460a5e (diff)
parentb979d0ce5da515793a02802a6421ef607a498323 (diff)
downloadPrismLauncher-930b07afd4229e952d0cd47ca62cd94235499a0c.tar.gz
PrismLauncher-930b07afd4229e952d0cd47ca62cd94235499a0c.tar.bz2
PrismLauncher-930b07afd4229e952d0cd47ca62cd94235499a0c.zip
Merge branch 'feature_library_model' into develop
Diffstat (limited to 'gui/ModListView.cpp')
-rw-r--r--gui/ModListView.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/ModListView.cpp b/gui/ModListView.cpp
index 34bd4af2..1d0e834c 100644
--- a/gui/ModListView.cpp
+++ b/gui/ModListView.cpp
@@ -30,6 +30,7 @@ void ModListView::setModel ( QAbstractItemModel* model )
auto head = header();
head->setStretchLastSection(false);
head->setSectionResizeMode(0, QHeaderView::Stretch);
- head->setSectionResizeMode(1, QHeaderView::ResizeToContents);
+ for(int i = 1; i < head->count(); i++)
+ head->setSectionResizeMode(i, QHeaderView::ResizeToContents);
dropIndicatorPosition();
}