Removed unneeded part of code
This commit is contained in:
parent
ef8ecc546b
commit
8642eb23a7
|
@ -449,9 +449,7 @@ bool ResolveSettings(
|
||||||
const auto section = match->captured(1).mid(1).toLower();
|
const auto section = match->captured(1).mid(1).toLower();
|
||||||
|
|
||||||
const auto type = [&]() -> std::optional<::Settings::Type> {
|
const auto type = [&]() -> std::optional<::Settings::Type> {
|
||||||
if (section.isEmpty()) {
|
if (section == qstr("language")) {
|
||||||
return ::Settings::Main::Id();
|
|
||||||
} else if (section == qstr("language")) {
|
|
||||||
ShowLanguagesBox();
|
ShowLanguagesBox();
|
||||||
return {};
|
return {};
|
||||||
} else if (section == qstr("devices")) {
|
} else if (section == qstr("devices")) {
|
||||||
|
|
Loading…
Reference in New Issue