2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

Add "Quit Telegram" taskbar menu item.

Fixes #1161.
This commit is contained in:
John Preston
2024-01-03 22:14:34 +04:00
parent d2246337a2
commit 973f91b5e4
10 changed files with 214 additions and 17 deletions

View File

@@ -195,8 +195,7 @@ bool ManageAppLink(
return true;
}
const auto shellLink = base::WinRT::TryCreateInstance<IShellLink>(
CLSID_ShellLink,
CLSCTX_INPROC_SERVER);
CLSID_ShellLink);
if (!shellLink) {
if (!silent) LOG(("App Error: could not create instance of IID_IShellLink %1").arg(hr));
return false;