mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 04:35:05 +01: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->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 New Issue
Block a user