mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Correctly set _desktopFile to Telegram.desktop if Telegram.desktop was found
This commit is contained in:
parent
e200a7d502
commit
4d42e7e5b9
1 changed files with 2 additions and 2 deletions
|
@ -553,8 +553,8 @@ void MainWindow::psFirstShow() {
|
||||||
LOG(("Found Unity Launcher entry telegramdesktop.desktop!"));
|
LOG(("Found Unity Launcher entry telegramdesktop.desktop!"));
|
||||||
useUnityCount=true;
|
useUnityCount=true;
|
||||||
} else if(!QStandardPaths::locate(QStandardPaths::ApplicationsLocation, "Telegram.desktop").isEmpty()) {
|
} else if(!QStandardPaths::locate(QStandardPaths::ApplicationsLocation, "Telegram.desktop").isEmpty()) {
|
||||||
_desktopFile = "telegramdesktop.desktop";
|
_desktopFile = "Telegram.desktop";
|
||||||
LOG(("Found Unity Launcher entry telegramdesktop.desktop!"));
|
LOG(("Found Unity Launcher entry Telegram.desktop!"));
|
||||||
useUnityCount=true;
|
useUnityCount=true;
|
||||||
} else {
|
} else {
|
||||||
LOG(("Could not get Unity Launcher entry!"));
|
LOG(("Could not get Unity Launcher entry!"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue