fix: macOS not showing Colorful icon

fixes: #9255
This commit is contained in:
sithlord48 2025-12-03 12:05:41 -05:00 committed by Nick Bolton
parent 70c54d6cf7
commit d1e2865319

View file

@ -751,7 +751,10 @@ void MainWindow::setTrayIcon()
QString themeIcon = kRevFqdnName;
if (!Settings::value(Settings::Gui::SymbolicTrayIcon).toBool()) {
m_trayIcon->setIcon(QIcon(fallbackPath.arg(kAppId, QStringLiteral("dark"), themeIcon)));
if (deskflow::platform::isMac())
m_trayIcon->setIcon(QIcon::fromTheme(themeIcon));
else
m_trayIcon->setIcon(QIcon(fallbackPath.arg(kAppId, QStringLiteral("dark"), themeIcon)));
return;
}