Fix lost qgetenv in GetLauncherBasename

This commit is contained in:
Ilya Fedin 2020-02-11 12:54:13 +04:00 committed by John Preston
parent bcd0fe38f0
commit 3574a9c874
1 changed files with 1 additions and 1 deletions

View File

@ -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")