parent
70c54d6cf7
commit
d1e2865319
1 changed files with 4 additions and 1 deletions
|
|
@ -751,7 +751,10 @@ void MainWindow::setTrayIcon()
|
||||||
|
|
||||||
QString themeIcon = kRevFqdnName;
|
QString themeIcon = kRevFqdnName;
|
||||||
if (!Settings::value(Settings::Gui::SymbolicTrayIcon).toBool()) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue