citra-emu
/
citra
Archived
1
0
Fork 0

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:
Vitor K 2019-09-10 00:01:55 -03:00 committed by GitHub
parent ccf6d380af
commit 4d2fee31b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {