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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user