2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Use UrlClickHandler::Open instead of File::OpenUrl

This commit is contained in:
Ilya Fedin
2020-10-29 01:29:48 +04:00
committed by John Preston
parent bbc59c1a99
commit bb94507af1
4 changed files with 5 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "api/api_sensitive_content.h"
#include "api/api_global_privacy.h"
#include "window/window_session_controller.h"
#include "core/file_utilities.h"
#include "core/click_handler_types.h"
#include "base/call_delayed.h"
#include "facades.h"
#include "app.h"
@@ -274,7 +274,7 @@ void SetupInterfaceScale(
}
void OpenFaq() {
File::OpenUrl(telegramFaqLink());
UrlClickHandler::Open(telegramFaqLink());
}
void SetupFaq(not_null<Ui::VerticalLayout*> container, bool icon) {