Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 35a9bde4 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Get the correct icon

parent 139bac55
......@@ -64,7 +64,7 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface* device)
, m_device(device)
{
#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
setIcon(QIcon::fromTheme(device->iconName()));
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment