diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-07-28 12:35:02 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-06 23:06:33 -0400 |
commit | 5927cf0e177d1804bcc0d9f95aa3fe1c4d0f6201 (patch) | |
tree | 889f9111aa75d73b620e332b4949cd8c304692b6 /src/yuzu/configuration | |
parent | 9e88f03e7591bd3b91d7af9b9995a727c0b92ac9 (diff) |
Use const where applicable
Diffstat (limited to 'src/yuzu/configuration')
-rw-r--r-- | src/yuzu/configuration/configure_gamelist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_gamelist.cpp b/src/yuzu/configuration/configure_gamelist.cpp index 072b3f96f..c81e716f9 100644 --- a/src/yuzu/configuration/configure_gamelist.cpp +++ b/src/yuzu/configuration/configure_gamelist.cpp @@ -12,9 +12,9 @@ ConfigureGameList::ConfigureGameList(QWidget* parent) : QWidget(parent), ui(new Ui::ConfigureGameList) { ui->setupUi(this); - static std::vector<std::pair<u32, std::string>> default_icon_sizes{ - std::make_pair(0, "None"), std::make_pair(24, "Small"), - std::make_pair(48, "Standard"), std::make_pair(96, "Large"), + static const std::vector<std::pair<u32, std::string>> default_icon_sizes{ + std::make_pair(0, "None"), std::make_pair(32, "Small"), + std::make_pair(64, "Standard"), std::make_pair(128, "Large"), std::make_pair(256, "Full Size"), }; @@ -25,7 +25,7 @@ ConfigureGameList::ConfigureGameList(QWidget* parent) size.first); } - static std::vector<std::string> row_text_names{ + static const std::vector<std::string> row_text_names{ "Filename", "Filetype", "Title ID", |