use kdeconnect-tray icon from breeze-icon set in windows build

This commit is contained in:
Piyush Aggarwal 2020-10-19 17:08:47 +05:30
parent a600c27490
commit f4a960a631

View file

@ -28,7 +28,7 @@ int IndicatorHelper::daemonHook(QProcess &kdeconnectd)
#ifdef QSYSTRAY #ifdef QSYSTRAY
void IndicatorHelper::systrayIconHook(QSystemTrayIcon &systray) void IndicatorHelper::systrayIconHook(QSystemTrayIcon &systray)
{ {
systray.setIcon(QIcon(QStandardPaths::locate(QStandardPaths::AppLocalDataLocation, QStringLiteral("icons/hicolor/scalable/apps/kdeconnectindicatorwin.svg")))); systray.setIcon(QIcon::fromTheme(QStringLiteral("kdeconnect-tray")));
} }
#else #else
void IndicatorHelper::systrayIconHook(KStatusNotifierItem &systray) void IndicatorHelper::systrayIconHook(KStatusNotifierItem &systray)