Fix minor code issues

This commit is contained in:
Jonas Kvinge
2019-09-15 20:27:32 +02:00
parent 83e10aac27
commit 2d67279180
147 changed files with 644 additions and 329 deletions

View File

@@ -128,10 +128,12 @@ void Queue::SourceLayoutChanged() {
}
QModelIndex Queue::index(int row, int column, const QModelIndex &parent) const {
Q_UNUSED(parent);
return createIndex(row, column);
}
QModelIndex Queue::parent(const QModelIndex &child) const {
Q_UNUSED(child);
return QModelIndex();
}
@@ -428,6 +430,9 @@ int Queue::TakeNext() {
}
QVariant Queue::headerData(int section, Qt::Orientation orientation, int role) const {
Q_UNUSED(section);
Q_UNUSED(orientation);
Q_UNUSED(role);
return QVariant();
}