mirror of https://github.com/procxx/kepka.git
Correctly set _desktopFile to Telegram.desktop if Telegram.desktop was found
This commit is contained in:
parent
e200a7d502
commit
4d42e7e5b9
|
@ -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…
Reference in New Issue