From 6e0852fb4971dba1be9dcd5694bcba0ec5073660 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 25 Jun 2022 12:31:54 +0200 Subject: [PATCH] Update WinToast to the latest version available at 2022-06-25 (#3834) Closes #3817 --- lib/WinToast | 2 +- src/singletons/Toasts.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/WinToast b/lib/WinToast index ce441336e..5e441fd03 160000 --- a/lib/WinToast +++ b/lib/WinToast @@ -1 +1 @@ -Subproject commit ce441336ef057576dfb377be754bc5357a04ff85 +Subproject commit 5e441fd03543b999edb663caf8df7be37c0d575c diff --git a/src/singletons/Toasts.cpp b/src/singletons/Toasts.cpp index ef3d861f2..1cf99bea2 100644 --- a/src/singletons/Toasts.cpp +++ b/src/singletons/Toasts.cpp @@ -207,6 +207,8 @@ void Toasts::sendWindowsNotification(const QString &channelName, Platform p) WinToastLib::WinToast::instance()->setAppUserModelId( WinToastLib::WinToast::configureAUMI(L"", L"Chatterino 2", L"", aumi_version)); + WinToastLib::WinToast::instance()->setShortcutPolicy( + WinToastLib::WinToast::SHORTCUT_POLICY_IGNORE); WinToastLib::WinToast::instance()->initialize(); WinToastLib::WinToast::instance()->showToast( templ, new CustomHandler(channelName, p));