mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Removed unneeded part of code
This commit is contained in:
parent
ef8ecc546b
commit
8642eb23a7
1 changed files with 1 additions and 3 deletions
|
@ -449,9 +449,7 @@ bool ResolveSettings(
|
|||
const auto section = match->captured(1).mid(1).toLower();
|
||||
|
||||
const auto type = [&]() -> std::optional<::Settings::Type> {
|
||||
if (section.isEmpty()) {
|
||||
return ::Settings::Main::Id();
|
||||
} else if (section == qstr("language")) {
|
||||
if (section == qstr("language")) {
|
||||
ShowLanguagesBox();
|
||||
return {};
|
||||
} else if (section == qstr("devices")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue