mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
rbutilQt: set the correct sorting method for the browsedirtree dialog.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14358 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9789d303f2
commit
1899315834
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ BrowseDirtree::BrowseDirtree(QWidget *parent) : QDialog(parent)
|
|||
this->setModal(true);
|
||||
ui.tree->setModel(&model);
|
||||
model.setReadOnly(true);
|
||||
model.setSorting(QDir::Name | QDir::DirsFirst | QDir::IgnoreCase);
|
||||
|
||||
// disable size / date / type columns
|
||||
ui.tree->setColumnHidden(1, true);
|
||||
ui.tree->setColumnHidden(2, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue