mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-25 11:18:40 +00:00
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
This commit is contained in:
committed by
borgmanJeremy
parent
5292b894f2
commit
4ab28d960c
@@ -253,7 +253,7 @@ void Controller::sendTrayNotification(const QString& text,
|
|||||||
{
|
{
|
||||||
if (m_trayIcon) {
|
if (m_trayIcon) {
|
||||||
m_trayIcon->showMessage(
|
m_trayIcon->showMessage(
|
||||||
title, text, QSystemTrayIcon::Information, timeout);
|
title, text, QIcon(":img/app/flameshot.svg"), timeout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user