Fixed warning

This commit is contained in:
Albert Vaca 2015-03-23 20:44:18 -07:00
parent a77a3dc0d5
commit b5420048f9

View file

@ -168,6 +168,7 @@ void DevicesModel::appendDevice(DeviceDbusInterface* dev)
void DevicesModel::nameChanged(const QString& newName)
{
Q_UNUSED(newName);
int row = m_deviceList.indexOf(static_cast<DeviceDbusInterface*>(sender()));
Q_ASSERT(row>=0);
const QModelIndex idx = index(row, 0);