working on monochrome icon (#2071)
* working on monochrome icon * Update pipeline * adjusted icns to be monochrome * Added 1045 monochrome
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "src/config/configwindow.h"
|
||||
#include "src/core/qguiappcurrentscreen.h"
|
||||
#include "src/utils/confighandler.h"
|
||||
#include "src/utils/globalvalues.h"
|
||||
#include "src/utils/history.h"
|
||||
#include "src/utils/screengrabber.h"
|
||||
#include "src/utils/systemnotification.h"
|
||||
@@ -465,7 +466,7 @@ void Controller::enableTrayIcon()
|
||||
m_trayIcon->setContextMenu(m_trayIconMenu);
|
||||
#endif
|
||||
QIcon trayIcon =
|
||||
QIcon::fromTheme("flameshot-tray", QIcon(":img/app/flameshot.png"));
|
||||
QIcon::fromTheme("flameshot-tray", QIcon(GlobalValues::iconPathPNG()));
|
||||
m_trayIcon->setIcon(trayIcon);
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
@@ -527,7 +528,7 @@ void Controller::sendTrayNotification(const QString& text,
|
||||
{
|
||||
if (m_trayIcon) {
|
||||
m_trayIcon->showMessage(
|
||||
title, text, QIcon(":img/app/flameshot.svg"), timeout);
|
||||
title, text, QIcon(GlobalValues::iconPath()), timeout);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user