From fb97940cacdd20aca72976e8d69639dc6e51eee6 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 1 Jun 2020 12:35:42 +0400 Subject: [PATCH] Rename SandboxAutostart to PortalAutostart --- Telegram/SourceFiles/platform/linux/specific_linux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index d6e030d1a..1a438b491 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -52,7 +52,7 @@ constexpr auto kSnapLauncherDir = "/var/lib/snapd/desktop/applications/"_cs; constexpr auto kIconName = "telegram"_cs; #ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION -void SandboxAutostart(bool autostart, bool silent = false) { +void PortalAutostart(bool autostart, bool silent = false) { QVariantMap options; options["reason"] = tr::lng_settings_auto_start(tr::now); options["autostart"] = autostart; @@ -804,7 +804,7 @@ void psAutoStart(bool start, bool silent) { if (InFlatpak()) { #ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION - SandboxAutostart(start, silent); + PortalAutostart(start, silent); #endif // !TDESKTOP_DISABLE_DBUS_INTEGRATION } else { const auto autostart = [&] {