Get the correct icon

This commit is contained in:
Albert Vaca 2017-05-24 21:27:51 +02:00
parent 139bac55bc
commit 35a9bde458

View file

@ -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