From 3574a9c8743c4d31d94e6573f8f2f952e993f6e6 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 11 Feb 2020 12:54:13 +0400 Subject: [PATCH] Fix lost qgetenv in GetLauncherBasename --- Telegram/SourceFiles/platform/linux/specific_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index e757bd9b4e..b83ddd0c72 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -281,7 +281,7 @@ QString GetLauncherBasename() { : "SNAP_NAME"; const auto result = qsl("%1_%2") - .arg(QString::fromLatin1(snapNameKey)) + .arg(QString::fromLatin1(qgetenv(snapNameKey))) .arg(cExeName()); LOG(("SNAP Environment detected, launcher filename is %1.desktop")