parent
256ba2411b
commit
a74d792b5b
1 changed files with 3 additions and 2 deletions
|
|
@ -741,8 +741,9 @@ void MainWindow::setIcon()
|
||||||
if (m_appConfig.colorfulTrayIcon()) {
|
if (m_appConfig.colorfulTrayIcon()) {
|
||||||
m_trayIcon->setIcon(QIcon::fromTheme(QStringLiteral("deskflow")));
|
m_trayIcon->setIcon(QIcon::fromTheme(QStringLiteral("deskflow")));
|
||||||
} else {
|
} else {
|
||||||
m_trayIcon->setIcon(QIcon::fromTheme(QStringLiteral("deskflow-symbolic")));
|
auto icon = QIcon::fromTheme(QStringLiteral("deskflow-symbolic"));
|
||||||
m_trayIcon->icon().setIsMask(true);
|
icon.setIsMask(true);
|
||||||
|
m_trayIcon->setIcon(icon);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue