Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DolphinQt: Replace unusual Qt::InitialSortOrderRole usage with a custom role. #8959

Merged
merged 1 commit into from Jul 17, 2020

Conversation

jordan-woyak
Copy link
Member

Our usage of Qt::InitialSortOrderRole as the sort role in our GameListModel is unusual.

This role is used to obtain the initial sort order of a header view section. (Qt::SortOrder). This role was introduced in Qt 4.8.

It's intended to return a Qt::SortOrder (ascending/descending) in an entirely different overridden function.

While our usage probably isn't breaking anything it's unusual and had me barking up wrong trees in Qt documentation.

@lioncash lioncash merged commit 93f73aa into dolphin-emu:master Jul 17, 2020
10 checks passed
@jordan-woyak jordan-woyak deleted the qt-sort-role branch July 17, 2020 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants