Get the correct icon
This commit is contained in:
parent
139bac55bc
commit
35a9bde458
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface* device)
|
||||||
, m_device(device)
|
, m_device(device)
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
setIcon(QIcon(QStandardPaths::locate(QStandardPaths::AppDataLocation, "icons/hicolor/scalable/apps/kdeconnect.svgz")));
|
setIcon(QIcon(QStandardPaths::locate(QStandardPaths::AppDataLocation, "icons/hicolor/scalable/status/"+device->iconName()+".svg")));
|
||||||
#else
|
#else
|
||||||
setIcon(QIcon::fromTheme(device->iconName()));
|
setIcon(QIcon::fromTheme(device->iconName()));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue