mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 08:33:45 +08:00
Use MACRO_TO_STRING from lib_base.
This commit is contained in:
@@ -549,9 +549,7 @@ void MainWindow::psFirstShow() {
|
||||
if(snapName.isEmpty()) {
|
||||
std::vector<QString> possibleDesktopFiles = {
|
||||
#ifdef TDESKTOP_LAUNCHER_FILENAME
|
||||
#define TDESKTOP_LAUNCHER_FILENAME_TO_STRING_HELPER(V) #V
|
||||
#define TDESKTOP_LAUNCHER_FILENAME_TO_STRING(V) TDESKTOP_LAUNCHER_FILENAME_TO_STRING_HELPER(V)
|
||||
TDESKTOP_LAUNCHER_FILENAME_TO_STRING(TDESKTOP_LAUNCHER_FILENAME),
|
||||
MACRO_TO_STRING(TDESKTOP_LAUNCHER_FILENAME),
|
||||
#endif // TDESKTOP_LAUNCHER_FILENAME
|
||||
"telegramdesktop.desktop",
|
||||
"Telegram.desktop"
|
||||
|
||||
Reference in New Issue
Block a user