mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-18 13:59:46 +00: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