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
Convert GameList col enum to enum class #9620
Convert GameList col enum to enum class #9620
Conversation
5346a19
to
cd088d2
Compare
cd088d2
to
b98077b
Compare
| hor_header->setSectionResizeMode(static_cast<int>(column), mode); | ||
| }; | ||
| { | ||
| using column = GameListModel::Column; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given this is a type alias, it should still be cased like This
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure it could be just using GameListModel::Column in that case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9a21353
to
f9ac26d
Compare
Remove COL_ prefix and change to TitleCase
f9ac26d
to
601dcfa
Compare
Also adds a couple lambdas and using directives to reduce visual noise.