From b5c188abbc469036779d3a7b021bbffa76e8bd0c Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Thu, 23 Oct 2025 11:24:27 -0400 Subject: [PATCH] refactor: use theme icon for tray on windows --- src/lib/gui/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gui/MainWindow.cpp b/src/lib/gui/MainWindow.cpp index 86f64107d..4f0411e52 100644 --- a/src/lib/gui/MainWindow.cpp +++ b/src/lib/gui/MainWindow.cpp @@ -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"));