Remove unused arguments
This commit is contained in:
parent
f7423c6ad6
commit
d8310cb38a
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public:
|
|||
virtual void setSourceModel(QAbstractItemModel *sourceModel) override;
|
||||
|
||||
public Q_SLOTS:
|
||||
void sourceDataChanged(QModelIndex,QModelIndex);
|
||||
void sourceDataChanged();
|
||||
};
|
||||
|
||||
#endif // DEVICESSORTPROXYMODEL_H
|
||||
|
|
Loading…
Reference in a new issue