From 4ab28d960cb4bb9e6c5f3821bea43d8ec09af93c Mon Sep 17 00:00:00 2001 From: Ahmed Zetao Yang Date: Wed, 30 Sep 2020 22:47:12 +0800 Subject: [PATCH] chore: use flameshot icon as tray notification icon * this need Qt >= 5.9, see https://doc.qt.io/qt-5.9/qsystemtrayicon.html#showMessage-1 --- src/core/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/controller.cpp b/src/core/controller.cpp index f26d0473..3d2343f9 100644 --- a/src/core/controller.cpp +++ b/src/core/controller.cpp @@ -253,7 +253,7 @@ void Controller::sendTrayNotification(const QString& text, { if (m_trayIcon) { m_trayIcon->showMessage( - title, text, QSystemTrayIcon::Information, timeout); + title, text, QIcon(":img/app/flameshot.svg"), timeout); } }