diff --git a/interfaces/devicessortproxymodel.cpp b/interfaces/devicessortproxymodel.cpp index 4588dd687..cff163c04 100644 --- a/interfaces/devicessortproxymodel.cpp +++ b/interfaces/devicessortproxymodel.cpp @@ -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); } diff --git a/interfaces/devicessortproxymodel.h b/interfaces/devicessortproxymodel.h index f248f36eb..568282035 100644 --- a/interfaces/devicessortproxymodel.h +++ b/interfaces/devicessortproxymodel.h @@ -36,7 +36,7 @@ public: virtual void setSourceModel(QAbstractItemModel *sourceModel) override; public Q_SLOTS: - void sourceDataChanged(QModelIndex,QModelIndex); + void sourceDataChanged(); }; #endif // DEVICESSORTPROXYMODEL_H