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
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ void Config::ReadValues() {
|
|||
qt_config->endGroup();
|
||||
|
||||
qt_config->beginGroup("GameList");
|
||||
UISettings::GameListIconSize icon_size = UISettings::GameListIconSize{
|
||||
auto icon_size = UISettings::GameListIconSize{
|
||||
ReadSetting("iconSize", static_cast<int>(UISettings::GameListIconSize::LargeIcon)).toInt()};
|
||||
if (icon_size < UISettings::GameListIconSize::NoIcon ||
|
||||
icon_size > UISettings::GameListIconSize::LargeIcon) {
|
||||
|
|
Loading…
Reference in a new issue