From 55de581ee9829c5fcb5bae37504fad4e89cac721 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Fri, 15 May 2026 09:23:09 +0200 Subject: Add setting to show notifications when downloads complete or fail (#2338) --- src/organizercore.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/organizercore.cpp') diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 68ccd2ff..27ab9713 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -541,6 +542,14 @@ std::wstring OrganizerCore::getGlobalCoreDumpPath() return {}; } +void OrganizerCore::showNotification(const QString& message, const QString& title, + QSystemTrayIcon::MessageIcon icon) +{ + if (m_UserInterface) { + m_UserInterface->showNotification(message, title, icon); + } +} + void OrganizerCore::setCurrentProfile(const QString& profileName) { if ((m_CurrentProfile != nullptr) && (profileName == m_CurrentProfile->name())) { -- cgit v1.3.1