Add missing names for parameter variables
This commit is contained in:
@@ -148,7 +148,10 @@ int Queue::rowCount(const QModelIndex &parent) const {
|
||||
return static_cast<int>(source_indexes_.count());
|
||||
}
|
||||
|
||||
int Queue::columnCount(const QModelIndex&) const { return 1; }
|
||||
int Queue::columnCount(const QModelIndex &parent) const {
|
||||
Q_UNUSED(parent)
|
||||
return 1;
|
||||
}
|
||||
|
||||
QVariant Queue::data(const QModelIndex &proxy_index, int role) const {
|
||||
|
||||
@@ -356,7 +359,10 @@ QMimeData *Queue::mimeData(const QModelIndexList &indexes) const {
|
||||
|
||||
}
|
||||
|
||||
bool Queue::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int, const QModelIndex&) {
|
||||
bool Queue::dropMimeData(const QMimeData *data, Qt::DropAction action, const int row, const int column, const QModelIndex &parent_index) {
|
||||
|
||||
Q_UNUSED(column)
|
||||
Q_UNUSED(parent_index)
|
||||
|
||||
if (action == Qt::IgnoreAction)
|
||||
return false;
|
||||
|
||||
@@ -74,7 +74,7 @@ class Queue : public QAbstractProxyModel {
|
||||
QStringList mimeTypes() const override;
|
||||
Qt::DropActions supportedDropActions() const override;
|
||||
QMimeData *mimeData(const QModelIndexList &indexes) const override;
|
||||
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override;
|
||||
bool dropMimeData(const QMimeData *data, Qt::DropAction action, const int row, const int column, const QModelIndex &parent_index) override;
|
||||
Qt::ItemFlags flags(const QModelIndex &idx) const override;
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
Reference in New Issue
Block a user