Fix build for Linux.

This commit is contained in:
John Preston 2020-01-21 21:51:37 +03:00
parent 0480611bf8
commit fef90ea363
2 changed files with 2 additions and 2 deletions

View File

@ -557,7 +557,7 @@ void MainWindow::psFirstShow() {
auto snapName = QString::fromLatin1(qgetenv("SNAP_NAME")); auto snapName = QString::fromLatin1(qgetenv("SNAP_NAME"));
if(snapName.isEmpty()) { if(snapName.isEmpty()) {
std::vector<QString> possibleDesktopFiles = { std::vector<QString> possibleDesktopFiles = {
MACRO_TO_STRING(TDESKTOP_LAUNCHER_BASENAME) + ".desktop", MACRO_TO_STRING(TDESKTOP_LAUNCHER_BASENAME) ".desktop",
"Telegram.desktop" "Telegram.desktop"
}; };

2
cmake

@ -1 +1 @@
Subproject commit 7b68f17156842a052ec8d9094d47cbbb5744e3a1 Subproject commit b2eb74be1d4c80c4d725f7f9daa0fca8f16672b8