From 8642eb23a7db22928a8f11d8098c481b02710490 Mon Sep 17 00:00:00 2001 From: CrisMystik <62919067+CrisMystik@users.noreply.github.com> Date: Mon, 25 Apr 2022 22:07:16 +0200 Subject: [PATCH] Removed unneeded part of code --- Telegram/SourceFiles/core/local_url_handlers.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/core/local_url_handlers.cpp b/Telegram/SourceFiles/core/local_url_handlers.cpp index a8356f3fe..c4082ba35 100644 --- a/Telegram/SourceFiles/core/local_url_handlers.cpp +++ b/Telegram/SourceFiles/core/local_url_handlers.cpp @@ -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")) {