mirror of
https://github.com/RyzenDew/Lime-3DS-Emulator.git
synced 2024-06-02 15:38:50 +02:00
Compare commits
2 Commits
a3ad7d2449
...
c2bc753363
Author | SHA1 | Date | |
---|---|---|---|
|
c2bc753363 | ||
|
057df92af9 |
|
@ -475,6 +475,12 @@ void GameList::DonePopulating(const QStringList& watch_list) {
|
||||||
item_model->sort(tree_view->header()->sortIndicatorSection(),
|
item_model->sort(tree_view->header()->sortIndicatorSection(),
|
||||||
tree_view->header()->sortIndicatorOrder());
|
tree_view->header()->sortIndicatorOrder());
|
||||||
|
|
||||||
|
// resize all columns except for Name to fit their contents
|
||||||
|
for (int i = 1; i <= COLUMN_COUNT; i++) {
|
||||||
|
tree_view->resizeColumnToContents(i);
|
||||||
|
}
|
||||||
|
tree_view->header()->setStretchLastSection(true);
|
||||||
|
|
||||||
emit PopulatingCompleted();
|
emit PopulatingCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user