2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Don't use QDesktopServices::openUrl on snap

This commit is contained in:
Ilya Fedin
2020-04-28 12:26:12 +04:00
committed by John Preston
parent 9828262a03
commit 95b4f56b86
13 changed files with 72 additions and 20 deletions

View File

@@ -36,8 +36,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "app.h"
#include "styles/style_settings.h"
#include <QtGui/QDesktopServices>
namespace Settings {
void SetupLanguageButton(
@@ -271,7 +269,7 @@ void SetupInterfaceScale(
}
void OpenFaq() {
QDesktopServices::openUrl(telegramFaqLink());
File::OpenUrl(telegramFaqLink());
}
void SetupFaq(not_null<Ui::VerticalLayout*> container, bool icon) {