From 0179a2ca104c6d09fbaad1558f6f6d5399b63ebb Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 13 Oct 2020 12:47:46 +0400 Subject: [PATCH] Rename InstallMainDesktopFile to InstallLauncher --- Telegram/SourceFiles/platform/linux/specific_linux.cpp | 4 ++-- Telegram/SourceFiles/platform/linux/specific_linux.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index 753b61e2fe..799e0f3fa3 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -1253,7 +1253,7 @@ void start() { void finish() { } -void InstallMainDesktopFile() { +void InstallLauncher() { static const auto DisabledByEnv = qEnvironmentVariableIsSet( "TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION"); @@ -1421,7 +1421,7 @@ void finish() { } // namespace Platform void psNewVersion() { - Platform::InstallMainDesktopFile(); + Platform::InstallLauncher(); Platform::RegisterCustomScheme(); } diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.h b/Telegram/SourceFiles/platform/linux/specific_linux.h index 1b4cdc0d50..1772a3c878 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.h +++ b/Telegram/SourceFiles/platform/linux/specific_linux.h @@ -42,7 +42,7 @@ QString GetIconName(); inline void IgnoreApplicationActivationRightNow() { } -void InstallMainDesktopFile(); +void InstallLauncher(); } // namespace Platform