Merge pull request #2291 from JosJuice/qt-sort-ascending-title
DolphinQt: Sort game list by ascending title order by default
This commit is contained in:
commit
c36a6b7599
|
@ -23,7 +23,7 @@ DGameTree::DGameTree(QWidget* parent_widget) :
|
||||||
|
|
||||||
SetViewStyle(STYLE_TREE);
|
SetViewStyle(STYLE_TREE);
|
||||||
setIconSize(QSize(BANNER_WIDTH, BANNER_HEIGHT));
|
setIconSize(QSize(BANNER_WIDTH, BANNER_HEIGHT));
|
||||||
sortByColumn(COL_TITLE);
|
sortByColumn(COL_TITLE, Qt::AscendingOrder);
|
||||||
|
|
||||||
connect(this, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(ItemActivated(QTreeWidgetItem*)));
|
connect(this, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(ItemActivated(QTreeWidgetItem*)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue