Remove unused arguments

This commit is contained in:
Aleix Pol 2015-09-12 09:48:18 +02:00
parent f7423c6ad6
commit d8310cb38a
2 changed files with 3 additions and 3 deletions

View file

@ -34,12 +34,12 @@ void DevicesSortProxyModel::setSourceModel(QAbstractItemModel *devicesModel)
QSortFilterProxyModel::setSourceModel(devicesModel);
if (devicesModel) {
setSortRole(DevicesModel::StatusModelRole);
connect(devicesModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(sourceDataChanged(QModelIndex,QModelIndex)));
connect(devicesModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(sourceDataChanged()));
}
sort(0);
}
void DevicesSortProxyModel::sourceDataChanged(QModelIndex , QModelIndex )
void DevicesSortProxyModel::sourceDataChanged()
{
sort(0);
}

View file

@ -36,7 +36,7 @@ public:
virtual void setSourceModel(QAbstractItemModel *sourceModel) override;
public Q_SLOTS:
void sourceDataChanged(QModelIndex,QModelIndex);
void sourceDataChanged();
};
#endif // DEVICESSORTPROXYMODEL_H