mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 02:20:00 +03:00
Progress indicators
This commit is contained in:
parent
e6be883d14
commit
8cfd0881ac
7 changed files with 111 additions and 16 deletions
|
|
@ -8,8 +8,8 @@ CategorizedProxyModel::CategorizedProxyModel(QObject *parent)
|
|||
}
|
||||
bool CategorizedProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
|
||||
{
|
||||
const QString leftCategory = left.data(CategorizedView::CategoryRole).toString();
|
||||
const QString rightCategory = right.data(CategorizedView::CategoryRole).toString();
|
||||
const QString leftCategory = left.data(CategorizedViewRoles::CategoryRole).toString();
|
||||
const QString rightCategory = right.data(CategorizedViewRoles::CategoryRole).toString();
|
||||
if (leftCategory == rightCategory)
|
||||
{
|
||||
return left.row() < right.row();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue