mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 22:42:47 +00:00
Prevent repetition on config.cpp
Type is already indicated on right hand side. Co-Authored-By: Mat M. <mathew1800@gmail.com>
This commit is contained in:
parent
ccf6d380af
commit
4d2fee31b3
|
@ -300,7 +300,7 @@ void Config::ReadValues() {
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
|
|
||||||
qt_config->beginGroup("GameList");
|
qt_config->beginGroup("GameList");
|
||||||
UISettings::GameListIconSize icon_size = UISettings::GameListIconSize{
|
auto icon_size = UISettings::GameListIconSize{
|
||||||
ReadSetting("iconSize", static_cast<int>(UISettings::GameListIconSize::LargeIcon)).toInt()};
|
ReadSetting("iconSize", static_cast<int>(UISettings::GameListIconSize::LargeIcon)).toInt()};
|
||||||
if (icon_size < UISettings::GameListIconSize::NoIcon ||
|
if (icon_size < UISettings::GameListIconSize::NoIcon ||
|
||||||
icon_size > UISettings::GameListIconSize::LargeIcon) {
|
icon_size > UISettings::GameListIconSize::LargeIcon) {
|
||||||
|
|
Loading…
Reference in a new issue