UISettings::GameListText
Append a value to the enum to function as length counter. Also remove magic numbers where possible, by using the enum instead.
This commit is contained in:
parent
1f1ac98f10
commit
719912786a
2 changed files with 11 additions and 10 deletions
|
@ -52,9 +52,8 @@ enum class GameListText {
|
|||
TitleName, ///< Display the name of the title
|
||||
TitleID, ///< Display the title ID
|
||||
LongTitleName, ///< Display the long name of the title
|
||||
ListEnd, ///< Keep this at the end of the enum.
|
||||
};
|
||||
// The length of the GameListText, excluding NoText
|
||||
constexpr int GAME_LIST_TEXT_LENGTH = 5;
|
||||
|
||||
struct Values {
|
||||
QByteArray geometry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue