Use the device name as tooltip

This commit is contained in:
Albert Vaca 2017-02-28 22:04:15 +01:00
parent 9d70774610
commit 44aec35996

View file

@ -64,7 +64,7 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface* device)
, m_device(device)
{
setIcon(QIcon::fromTheme(device->iconName()));
setToolTip(device->type());
setToolTip(device->name());
connect(device, SIGNAL(nameChanged(QString)), this, SLOT(setText(QString)));