Fixed warning
This commit is contained in:
parent
a77a3dc0d5
commit
b5420048f9
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ void DevicesModel::appendDevice(DeviceDbusInterface* dev)
|
||||||
|
|
||||||
void DevicesModel::nameChanged(const QString& newName)
|
void DevicesModel::nameChanged(const QString& newName)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(newName);
|
||||||
int row = m_deviceList.indexOf(static_cast<DeviceDbusInterface*>(sender()));
|
int row = m_deviceList.indexOf(static_cast<DeviceDbusInterface*>(sender()));
|
||||||
Q_ASSERT(row>=0);
|
Q_ASSERT(row>=0);
|
||||||
const QModelIndex idx = index(row, 0);
|
const QModelIndex idx = index(row, 0);
|
||||||
|
|
Loading…
Reference in a new issue