refactor: use theme icon for tray on windows
This commit is contained in:
parent
8226c4162b
commit
b5c188abbc
1 changed files with 1 additions and 1 deletions
|
|
@ -768,7 +768,7 @@ void MainWindow::setTrayIcon()
|
|||
// Using a theme icon that is packed in exe renders an invisible icon
|
||||
// Instead use the resource path of the packed icon
|
||||
const bool symbolicIcon = Settings::value(Settings::Gui::SymbolicTrayIcon).toBool();
|
||||
#ifndef Q_OS_MAC
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_APPLE)
|
||||
QString iconString = QStringLiteral(":/icons/deskflow-%1/apps/64/deskflow").arg(iconMode());
|
||||
if (symbolicIcon)
|
||||
iconString.append(QStringLiteral("-symbolic"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue