[macOS] Fix tray icon color states
This commit is contained in:
parent
0325761f3e
commit
9851aacba7
1 changed files with 2 additions and 0 deletions
|
@ -67,7 +67,9 @@ void SystemTrayNotificationHandler::onTranslationsUpdated()
|
|||
void SystemTrayNotificationHandler::setTrayIcon(const QString &iconPath)
|
||||
{
|
||||
QIcon trayIconMask(QPixmap(iconPath).scaled(128,128));
|
||||
#ifndef Q_OS_MAC
|
||||
trayIconMask.setIsMask(true);
|
||||
#endif
|
||||
m_systemTrayIcon.setIcon(trayIconMask);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue